This article is within the scope of WikiProject JavaScript, a collaborative effort to improve the coverage of articles related to JavaScript, and to the development of user scripts for use on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.JavaScriptWikipedia:WikiProject JavaScriptTemplate:WikiProject JavaScriptJavaScript
This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.ComputingWikipedia:WikiProject ComputingTemplate:WikiProject ComputingComputing
This article is within the scope of WikiProject Internet, a collaborative effort to improve the coverage of the Internet on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.InternetWikipedia:WikiProject InternetTemplate:WikiProject InternetInternet
This article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Computer scienceWikipedia:WikiProject Computer scienceTemplate:WikiProject Computer scienceComputer science
This article is substantially duplicated by a piece in an external publication. Since the external publication copied Wikipedia rather than the reverse, please do not flag this article as a copyright violation of the following source:
Miller, F. P., Vandome, A. F., & McBrewster, J. (2010), JavaScript: JavaScript syntax, client-side JavaScript, JavaScript engine, Ajax (programming), Web interoperability, web accessibility, cross-site scripting, cross-site request forgery, ECMAScript, dynamic HTML, Alphascript Publishing{{citation}}: CS1 maint: multiple names: authors list (link)
The article is currently wrong in that it claims Google Chrome pioneered JIT. In fact, the TraceMonkey JIT for Firefox appeared as a Beta before Chrome was even announced, and became standard in Firefox at about the same time that the Chrome came out of Beta.
Perhaps the V8 team could claim priority here, since they independently developed it for a few years prior to Chrome's release in 2008. There's another problem with your claim of Eich/TraceMonkey being the first to have JIT: In terms of widespread, non-beta deployment Chrome was well ahead of Firefox, which is supported by Mozilla's "Are we fast yet?" website and another reference in the article. (And I personally remember Firefox being noticeably slower than Chrome for JS back in those early years of Chrome.)
Anyhow, I don't think it really matters who gets credited for "the pioneer" of JIT in a JS engine. So I'm reverting back to my edit of yesterday where this point is not even mentioned. (It still has the same Eich blog ref anyways.) -Pmffl (talk) 19:56, 17 February 2024 (UTC)[reply]
Well, it does matter because that is the published history. TraceMonkey in Firefox actually goes back to 2006 also, with the publication being Gal, A., Franz, M., & Probst, C. (2006). HotpathVM: An Effective JIT for Resource-constrained Devices. In 2nd International Conference on Virtual Execution Environments (VEE 2006). This made it into Firefox before anyone outside of Google even knew that Chrome was being developed. So the current article is not honest about who did what and almost looks like a hidden advertisement for Google.
In fact, as the cited Brendan Eich blog shows, TraceMonkey led to a 700 percent (!) speedup over all previously existing browsers at the time. And Chrome and Firefox often traded places in the speed race in the years that followed.
I just added info that Mozilla was working on JIT at the time. But you can't claim JS performance parity of regular 2009 Firefox compared to Chrome; the refs in the paragraph show that to not be the case. Fact is, Mozilla caught up to V8 a few years later. -Pmffl (talk) 02:47, 18 February 2024 (UTC)[reply]