

TraceMonkey is absent from SpiderMonkey from Firefox 11 onward. Improvements to JägerMonkey eventually made TraceMonkey obsolete, especially with the development of the SpiderMonkey type inference engine. This data then informed the construction of trace trees, highly specialized paths of native code. Instead of compiling whole functions, TraceMonkey was a tracing JIT, which operates by recording control flow and data types during interpreter execution. Initially introduced as an option in a beta release and introduced in Brendan Eich's blog on August 23, 2008, the compiler became part of the mainline release as part of SpiderMonkey in Firefox 3.5, providing "performance improvements ranging between 20 and 40 times faster" than the baseline interpreter in Firefox 3. TraceMonkey was the first JIT compiler written for the JavaScript language. SpiderMonkey is written in C/ C++ and contains an interpreter, the IonMonkey JIT compiler, and a garbage collector. ECMA-357 ( ECMAScript for XML (E4X)) was dropped in early 2013. SpiderMonkey implements the ECMA-262 specification ( ECMAScript). Generator expressions, expression closures Iterators and generators, let statement, array comprehensions, destructuring assignment Versions SpiderMonkey version historyĪdditional array methods, array and string generics, E4X

In 2011, Eich transferred management of the SpiderMonkey code to Dave Mandelin. (Mocha was the original working name for the language.) (The idea of using Scheme was abandoned when "engineering management that the language must 'look like Java '".) In late 1996, Eich, needing to "pay off substantial technical debt" left from the first year, "stayed home for two weeks to rewrite Mocha as the codebase that became known as SpiderMonkey". Having been "recruited to Netscape with the promise of 'doing Scheme' in the browser". History Įich "wrote JavaScript in ten days" in 1995,

SpiderMonkey is the first JavaScript engine, written by Brendan Eich at Netscape Communications, later released as open source and currently maintained by the Mozilla Foundation.

For other uses, see Spider monkey (disambiguation).
