also @ TechSpot: Apple's iOS 7 to be "black, white and flat all over"

New Firefox JavaScript engine uses WebKit code

By

On March 9, 2010, 1:12 PM

Once among the fastest, Firefox's TraceMonkey JavaScript engine has slipped behind the performance offered by Chrome, Opera, and Safari. In hopes of propelling Firefox into the lead, Mozilla is developing a new JavaScript engine called JägerMonkey.

To accomplish the feat, the outfit is borrowing some code from Apple's WebKit project. Mozilla aims to meld the powerful optimization techniques of TraceMonkey with the efficient native code generator of Apple's JSCore engine. An implementation that could regain lost ground for Firefox in the JavaScript speed wars.

"The reason we're [building JägerMonkey] is that TraceMonkey is very fast for code that traces well, but for code that doesn't trace, we're stuck with the interpreter, which is not fast," explained Mozilla developer David Mandelin. "The JägerMonkey method JIT will provide a much better performance baseline, and tracing will continue to speed us up on code where it applies."

The project is just underway and interested developers can download the code from Mozilla's version control repository.

No tags on this story

User Comments: 30

Got something to say? Post a comment
  1. Nothing wrong with a speed improvement for Firefox.

    Would still use FF even if they dont do this.

  2. I would too. Firefox is a great browser.

  3. That what good about the competition between the browser... The technology will improve much faster ^_^

  4. I was using Chrome for quite some time and after I read the article about browser, I noticed speed test also confirmed the same: Chrome is the fastest.

    I stopped using FF for about a year and I don't think I will change my mind any time soon.

    Chrome is fastest there is at this moment and so far I have had no security problems.

  5. To me Java seems slow and clanky no mater what browser it running in or what stand alone software.

  6. hello ...

    i seem to get into some problem with latest FF, i have to use 3 browsers at once & it's a pain. my favs remain Chrome & Firefox still, just hope this JagerMonkey do make a difference in the end.

    cheers!

  7. @TorturedChaos, java script  & Java are not the same thing.

  8. Whatever helps speed up Firefox, I'm all up for it! Firefox FTW!

  9. just a gentle reminder to the techspot, you got one typographical error in the second paragraph, it's TraceMonkey but not "TraceMoney "!!!

    indeed, firefox needs to trace money )

  10. Staff

    Yikes, haha. Thanks for pointing that out selphiroth, it's fixed.

  11. I recently switched over to Chrome from Firefox. The big thing that made me switch was when i was online banking, with any different bank it would take literally 20 seconds to log in or navigate around. On Chrome it takes half a second if that. I don't think i'll be switching back anytime soon.

  12. if this native code is comeing from apple, then this defently going to help firefox, maybe it will have a better chance of getting back into the game with chrome, (but not saying it will beat it, just have better Numbers)

  13. Love anything that can enhance Firefox. I haven't abandoned IE but I prefer Firefox and Chrome. Since I have to be familiar with all the browsers that our end users are running I use many several times a day and it really helped me learn each one. I've found now that I can seamlessly navigate through many and help users troubleshoot over the phone better. It's great, if you all are tech support at any level this may help you too!

  14. Chrome is, indeed, the fastest web browser in the world. But that's all there is to it.

    Opera is, indeed, the most complete web browser in the world. But that's all there is to it.

    Safari is, indeed, the most stable* web browser in the world. But that's all there is to it.

    Internet Explorer is, indeed, the most used web browser in the world. And this, also, is all there is to it.

    The best, all-around (by all-around I'm referring to performance, security, stability, customization, portability, user-friendliness) web browser in the world is called Mozilla Firefox. Hate it or love it.

    *By stability I'm referring to web page stability, not the actual browser stability.

  15. What really made me switch from Firefox to Chrome was the ability to seamlessly integrate your bookmarks on different computers.

  16. " Chrome is, indeed, the fastest web browser in the world. But that's all there is to it.

    Opera is, indeed, the most complete web browser in the world. But that's all there is to it.

    Safari is, indeed, the most stable* web browser in the world. But that's all there is to it.

    Internet Explorer is, indeed, the most used web browser in the world. And this, also, is all there is to it.

    The best, all-around (by all-around I'm referring to performance, security

    , stability, customization, portability, user-friendliness) web browser in the world is called Mozilla Firefox. Hate it or love it.

    *By stability I'm referring to web page stability, not the actual browser stability. "

    Agreed 100%....

  17. Firefox is going strong chrome is going to surpass it eventually however with its OS

  18. @ Guest,

    I agree completely,

    Looking forward for the next JS engine, though I don't care much about it and I would still use Firefox...

  19. I am completely happy with Firefox because of the extensions (18). I have a fast computer and internet connection now so Firefox performance is not an issue.

  20. i never thought firefox would use webkit. but its fine, atleast only on java so there would still be distinctions from other browsers that use webkit as rendering engine...

  21. Am I the only one that sees this as a threat to the security of both WebKit and Firefox? The more code shared between different products, the more likely that a hack, exploit or virus will affect said code. One of the main reasons I embraced Firefox early on was that few exploits and hacks were written for it as most hackers went after the much larger market share IE. The new diversity of browser options out there between Chrome, Opera, Safari, etc. has actually been one of the best things for security on the net. If these browsers begin to share code and work the same way we risk large scale exploits and hacking issues (ala the issues with Flash).

  22. Good news from firefox! Use to love firefox but they need to improve in speed evrything else its ok.

  23. i have never used firefox!

    i was a chrome user them moved on to opera 10.50!

    chrome used to hang very much! opera is the best! it has speed! and atleast it doesn't hangs! :P

  24. that was java script , not JAVA

  25. Either way FireFox is and always will be the king of browsers!

Recently commented stories

Post a new comment

Social Login & Guest Posting TechSpot Members
Login here or sign up for free,
it takes about a minute.
Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.
TechSpot on:

Subscribe to TechSpot

Get free exclusive content, learn about new features and breaking tech news.