Slashdot Mirror


Mozilla's New JavaScript Engine Coming September 1

An anonymous reader writes "Mozilla has reached an important milestone as its new JavaScript engine, 'JaegerMonkey,' is now faster than the current 'TraceMonkey' in a key benchmark. Mozilla wants JaegerMonkey to be faster than the competition and launch on September 1, which means that JaegerMonkey will make it into Firefox 4.0."

37 of 222 comments (clear)

  1. Competition by Dan+East · · Score: 4, Funny

    I know Firefox is open source, but is it wise to broadcast their intentions so publicly months in advance? Especially when it has to do with competing against other browsers.

    --
    Better known as 318230.
    1. Re:Competition by Monkeedude1212 · · Score: 5, Insightful

      Please elaborate Why not?

    2. Re:Competition by bsDaemon · · Score: 5, Funny

      Because the Taliban might start training their monkeys to interpret Javascript, too.

    3. Re:Competition by Keyslapper · · Score: 4, Interesting

      Agreed. The JS engine is probably the only area FF is trailing the rest of the market by a wide margin. It's not like they're announcing they're getting further out in front of the pack. Announcing they're finally coming up to par in this area is the best thing I've heard about FF since ... well ever.

      This might give me reason to hold out for FF4 rather than switching to Safari or Opera.

    4. Re:Competition by fuzzyfuzzyfungus · · Score: 2, Funny

      Everybody knows that everybody is trying to buff their JS scores; both because the Web2.0 gods demand it, and because not having the best sunspider scores causes your e-penis to shrivel. It isn't exactly a skunkworks secret weapon kind of feature.

      The only way that they could really hide from a remotely sophisticated adversary(ie. a group that includes anybody remotely capable of making a competing browser), would be to sacrifice openness in a pretty huge way and make it so that only internal devs could see commits and things being made. If they aren't doing that, they aren't actually hiding much of anything.

      Plus, since JS performance is such a point of competition, pre-announcing your coming-real-soon-now feature is a way of encouraging people not to defect to competing products before the feature is actually released.

    5. Re:Competition by BZ · · Score: 5, Insightful

      Mozilla is not just open source, it's also open. Open in the sense that all project management (and indeed everything else) is done in the open as much as possible. There are no secret project crash landings of the sort that Chrome was or the current iteration of the Safari JS engine, unless there are external requirements for such (as there were with WebM).

      This has the benefit that project contributors who are not Mozilla employees can fully participate in goal-setting and development. It does have the drawback that competitors can borrow the ideas, and possibly even ship them first; this happens all the time. This is viewed as an acceptable cost of doing business in an open way.

    6. Re:Competition by ultranova · · Score: 5, Insightful

      Nah. The best thing would be if they finally separated everything into their own threads so that the entire UI would not lock just because Javascript in some tab is busy, or some download stalled, or a big table is being rendered, or whatever.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    7. Re:Competition by Big+Boss · · Score: 4, Funny

      The new and improved TalibanMonkey Javascript engine! It flies code into large webpages and DDOSes any script that mentions Muhamad. :)

    8. Re:Competition by Arancaytar · · Score: 5, Funny

      It's not exactly a huge leap of innovation, since monkeys already writing Javascript.

      I can't explain some of the code I've seen, otherwise.

    9. Re:Competition by BZ · · Score: 2, Informative

      Which part? Exact sources of revenue? Those are as open as the various revenue sources will allow, last I checked. Exact spending? The general categories are published; the exact salaries of particular people are not. Something else?

    10. Re:Competition by H0p313ss · · Score: 4, Funny

      Because the Taliban might start training their monkeys to interpret Javascript, too.

      Silence, I kill you!

      --
      XML is a known as a key material required to create SMD: Software of Mass Destruction
    11. Re:Competition by marsu_k · · Score: 3, Insightful

      While this is true, partially it's not FFs fault. However /. managed to get from a convoulted mess of nested tables and font tags to a convoulted mess of some of the worst performing javacript I've ever seen is beyond me.

    12. Re:Competition by BZ · · Score: 2, Informative

      > Where is such information?

      On the page you linked to.

      > The information here is getting stale:

      The 2008 information is there. The 2009 information can't be put up until the 2009 tax returns are filed, at the very least, which may well not have happened yet (depending on the exact fiscal year and extension situation; I'm not privy to the details).

    13. Re:Competition by drachenstern · · Score: 3, Funny

      And yet here you are posting!

      At least the trains ran on time in Italy eh?

      --
      2^3 * 31 * 647
    14. Re:Competition by maxume · · Score: 2, Interesting

      The 2008 auditing report and form 990 both use the calendar year, so there is a fair chance that they are using the calendar year for taxes.

      It also mentions that the IRS is investigating their classification of certain income. It is sort of entertaining, their status as a public foundation is in question, so they have to ask people for donations (to try to be publicly supported), but they get far more money from their deal with Google than they are currently able to intelligently spend.

      --
      Nerd rage is the funniest rage.
    15. Re:Competition by StikyPad · · Score: 5, Funny

      You're thinking of AlQuedaMonkey. TalibanMonkey tally me bananas.

    16. Re:Competition by Vectormatic · · Score: 2, Funny

      You sir, made my day, and in lieu of a mod point, have this coupon, good for one free internets!

      damn, if only i hadnt pissed away my mod points earlier today..

      --
      People, what a bunch of bastards
  2. Re:JägerMonkey by Anonymous Coward · · Score: 5, Informative

    The correct transliteration of German umlauts ä, ö and ü is "ae", "oe" and "ue". JaegerMonkey is correct.

  3. Free as in Beer by DIplomatic · · Score: 5, Insightful

    It really blows my mind that there is such fierce competition between internet browsers. It's rare to see this level of intense drive and innovation for a free product.

    1. Re:Free as in Beer by BZ · · Score: 2, Informative

      > it is merely the means to generate the real product: users.

      No, the real product is an open web not tied to a particular technology. Users are just a means to that end.

      > and their habits are sold to the advertisers.

      What does Firefox sell, exactly? I'd really like to know.

      > that money comes from selling user behavior.

      Not quite. That money comes from partnerships with search engines. The only thing "sold" is whatever you decide to submit to a search engine, and only if you use the little search bar at the top right of the browser, iirc, and is only "sold" to the search engine provider (who is obviously getting that data anyway; you want them to have it so as to actually do the search).

    2. Re:Free as in Beer by BZ · · Score: 3, Informative

      > But there will be no winner.

      No winner in terms of market share, right?

      If that happens, it's a win for Mozilla, at least, since their goal here is a free and open web, not controlling how users get information. Firefox having 100% market share would be a loss for Mozilla....

    3. Re:Free as in Beer by bsDaemon · · Score: 4, Interesting

      It might be because they're free that there is competition to innovate. It doesn't take anything for someone to switch to a different browser, so getting them to stick with one is a bit trickier. No one is going to go into purchase rationalization mode over a free download like they might over a car that turns out not to be as cool as they hoped. From the perspective of a Microsoft or a Google, once you can lock in the loyalty of the end users, then its easier to steer them towards your other products, including for-pay products. Hell, even Netscape was giving away Navigator hoping people would pick up their server offerings to go along with it. Mozilla, on the other hand, needs to keep people in the open, standards-based ecosystem because that forces all the vendors towards the center and creates are more cross-compatible environment.

    4. Re:Free as in Beer by spinkham · · Score: 4, Interesting

      Exactly. Google wins if there's multiple high quality browsers.

      Mozilla wins if there's multiple high quality browsers and Google keeps paying them.

      Opera wins if companies continue to buy their browser engine for embedding, and Google keeps paying them.

      That's 3 of the 5 major(if you can call Opera a major browser) projects that are almost entirely dependent on Google. Google ads fund the web.

      Apple wins if the browsers on their platforms are good enough to allow you to leave Microsoft, and the web ecosystem allows you to not feel much pain. So they also win if there's multiple high quality browsers.

      IE already won the last round. Now they have to keep from losing relevancy in the next. If people start seeing "the internets" as firefox or chrome vs IE, then people can much more easily leave Windows for Linux or Mac. The delay after IE 6 was an attempt to stall the web. They somewhat succeeded in delaying progress on the web, but lost the war, and now are scrambling to build a browser that doesn't suck.

      --
      Blessed are the pessimists, for they have made backups.
  4. Great... JUST GREAT by revlayle · · Score: 3, Funny

    Drunk monkeys are going to be running the new JS engine.... still better than IE

    1. Re:Great... JUST GREAT by paradxum · · Score: 2

      The Internet ... built by and ran by Drunk monkeys....

      Ok, some of us are not drunk.... all the time.

  5. Nightly benchmarking by Mr.+Spontaneous · · Score: 4, Interesting

    For those of you who want to track the progress of Mozilla's JS efforts, visit the self-descriptive ARE WE FAST YET?

    --
    Its all fun and games until someone loses an eye... then its just fun.
  6. Too bad FF may not last by denis-The-menace · · Score: 4, Insightful

    Don't get me wrong, I love FF but I am worried about what happens after the deal with google expires.

    FF doesn't put out an MSI version of their windows package and doesn't do GPO policies *natively*. This stuff is all 3rd party after the fact and FF updates.

    Meanwhile I read on /. that Chrome can use the same GPO as IE natively. (I can't find it, though)

    Once Google pumps out MSIs for Chrome and its GPO support is common knowledge, FF will have lost the corps for market share.

    --
    Obama's legacy: (N)othing (S)ecure (A)nywhere and (T)error (S)imulation (A)dministration
    1. Re:Too bad FF may not last by vbraga · · Score: 4, Informative

      I never understood why Mozilla Foundation refuses to release proper GPO support in Firefox. Why neglect the corporate market?

      --
      English is not my first language. Corrections and suggestions are welcome.
    2. Re:Too bad FF may not last by RebelWebmaster · · Score: 4, Informative

      For what it's worth, there was a session on enterprise deployment at the 2010 Mozilla Summit last week. Official MSI support is coming (there are patches posted to the relevant bug), hopefully for Firefox 4. GPO support is more difficult due to the wide number of settings supported by Firefox and complications with their version numbering and update settings. That said, there are extensions for it at least. Basically, that segment is getting more attention, even if it isn't moving at lightning speed.

  7. Re:JägerMonkey by shellster_dude · · Score: 2, Informative

    Actually Mozilla uses the same terminology. See any of the data points on the graphs located at the Mozilla run: http://www.arewefastyet.com/

  8. Re:Keyword: fast*ER* ... sometimes by sd.fhasldff · · Score: 4, Informative

    I think you're missing the point of what is being benchmarked. Mozilla hasn't released benchmarks of their new JS engine with both "method" and "tracer" JIT combined. They are being evolved separately, but are (according to Moz) complementary. Thus, we don't know how far they actually are from their goal yet.

    Check out http://www.arewefastyet.com/ for benchmarks and description.

    From what I can gather from the associated bug report, the "fatval" optimizations are also not applied to the portions of JS code that is traced... which would imply that the better job the tracer engine does, the less the "fatval" optimizations are applied.

    The result is that an unknown "free" speed increase is waiting in the wings. What the magnitude of this increase is... well, that's the question, isn't it?

    Does 1 September seem like a really tight deadline? Yes, sure does, but more in terms of stability and robustness than actually getting to a specific speed milestone.

  9. Wha? by ITBurnout · · Score: 3, Insightful

    Sometimes when reading Slashdot I find myself taking a step back and marveling at how a sentence like "Mozilla's new Jaegermonkey Javascript engine for Firefox, which will launch on September 1, is faster than Tracemonkey in key benchmarks" actually makes sense to me. It is the 21st Century, and we talk funny.

  10. Too little, too late... by divisionbyzero · · Score: 2, Interesting

    I dumped FF for Chrome a few months ago and I am not looking back... To be honest, the JS performance wasn't the main problem. It had stability and resource issues. We owe a lot to FF for freeing us from the tyranny of IE but the future is with Chrome or Safari (and to a lesser degree Opera).

    1. Re:Too little, too late... by SuseLover · · Score: 2, Informative
      People keep posting that FF is unstable, but I don't get it? FF itself has almost NEVER crashed on me and I let it run 24x7x365. All of my instability problems have been due to plugins.

      And I don't understand the performance complaints either, FF is maybe .5 - 1 second behind other browsers loading pages/apps. Is our society really that impatient that we can't be bothered to wait 500ms longer for something to happen?

      I dumped all other browsers since Mozilla came out and I haven't looked back and I absolutely HATE Chrome (and Google - I think they strayed too far from their roots and are too powerful), so whats so damn great about Chrome other than being a little faster?

  11. Re:JägerMonkey by Kenshin · · Score: 3, Informative

    "Jäger" is German for "Hunter".

    Once again we're treading into the territory: Can you be sued for using a word?

    --

    Does it make you happy you're so strange?

  12. Re:Keyword: fast*ER* ... sometimes by bunratty · · Score: 2, Informative

    The tracer JIT is able to compile most methods into very tight assembly code because it is able to determine the types of each variable at compile time. For the methods that can't be compiled with the tracer JIT, they have been run by the interpreter, which is very slow compared to JIT compilers. With the new method JIT, methods that can't be compiled with the tracer JIT will be run by the method JIT instead of the interpreter. This is the meaning of the statement the tracer JIT (orange) and method JIT (black) are not yet integrated. once integrated, the merged branch will be faster than either branch individually. they are complementary.

    --
    What a fool believes, he sees, no wise man has the power to reason away.
  13. Using the wrong benchmark... by bradbury · · Score: 2, Funny

    The speed of Javascript is the *least* of my critera to use in judging a browser (seems like reviewers and developers are operating under some misguided credo where "foreign" software providers running unexamined software ON MY MACHINE is a *good* thing. While open source, an Internet site is free to change their Javascripts at the drop of a hat (unlike an open source browser where one at least some has some community review and reasonable confidence in security/reliability). So any web site which uses Javascript is open to compromise and therefore could become a mal-Javascript distributor.

    If the purpose of HTML and Standards is to distribute *information* and not to use *my* CPU cycles or sell me things (aka distribute commercials) I'd be much more interested in browsers that use the fewest CPU cycles in an unused state (or a "used" state displaying static HTML) or reliably restore sessions when requested.

    The overemphasis on how fast Javascript runs seems to be due to a lack of serious thought as to how to make browsers better at doing what they were designed to do -- which was *not* to run "web-apps". We used the Internet very successfully for over a decade to provide information -- not to run apps -- if it wasn't (isn't) broken why the emphasis on fixing(?) it?

    I note this with an aside that the U.S. Government (NIH NCBI) no longer allows complete access to its *public* databases, e.g. PubMed, by browsers which do not have Javascript enabled. (One is compelled to ask *who* for the most part paid for that information but can no longer access it?).

    A "good idea" is something which doesn't break something which used to work just fine when it is supposed to be improving on it.