SpiderMonkey (Javascript engine)
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "SpiderMonkey_(Javascript_engine)"
.

content
SpiderMonkey
Developed by Mozilla Foundation / Mozilla Corporation
Written in C
OS Cross-platform
Type JavaScript engine
License MPL/GPL/LGPL tri-license
Website http://www.mozilla.org/js/spidermonkey/

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

Contents

Internals

SpiderMonkey is written in C and contains a compiler, interpreter, decompiler, garbage collector, and standard classes. It does not itself provide host environments such as Document Object Model (DOM).

SpiderMonkey and its sister engine Rhino have implemented support for the ECMAScript for XML (E4X) standard.

Usage

It is intended to be embedded in other applications that provide host environments for JavaScript. The most popular applications are Mozilla Firefox and the Mozilla Application Suite/SeaMonkey, along with Adobe Acrobat and Adobe Reader. SpiderMonkey is also the JavaScript engine for Yahoo! Widgets (formerly known as "Konfabulator") and UOX3, an Ultima Online server emulator. A rather popular and creative utilization of the SpiderMonkey JavaScript engine is the open source Sphere suite of applications primarily intended to aid in the design of role-playing games. Parts of SpiderMonkey are used in the Wine project's Jscript (re-)implementation.[1]

TraceMonkey

Mozilla has added optimization using "Trace Trees" to SpiderMonkey. Due to be released in late 2008 or early 2009, Firefox 3.1 is slated to include this new optimization technique which offers "performance improvements ranging between 20 and 40 times faster in some cases"[2]

See also

References

  1. ^ wine-cvs mailing list, September 16, 2008: “jscript: Added regular expression compiler based on Mozilla regexp implementation”
  2. ^ http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-javascript-performance-boost.html

External links

© jGames.co.uk 2007 (some content from Wikipedia under GDL ) !-- ValueClick Media 468x60 and 728x90 Banner CODE for jgames.co.uk -->
Your Ad Here