SpiderMonkey (JavaScript engine)

SpiderMonkey (JavaScript engine)

Infobox Software
name = SpiderMonkey


caption =
developer = Mozilla Foundation / Mozilla Corporation
latest_release_version =
latest_release_date =
operating_system = Cross-platform
genre = JavaScript engine
programming language = C
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.

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. [ [http://www.winehq.org/pipermail/wine-cvs/2008-September/047548.html wine-cvs mailing list] , September 16 2008: “jscript: Added regular expression compiler based on Mozilla regexp implementation”]

TraceMonkey

Mozilla has added optimization using [http://www.ics.uci.edu/~franz/Site/pubs-pdf/ICS-TR-07-12.pdf "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" [http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-javascript-performance-boost.html]

See also

* Rhino
* List of JavaScript engines
* JavaScript OSA, a SpiderMonkey inter-process communication language for the Macintosh computer

References

External links

* [http://www.mozilla.org/js/spidermonkey/ SpiderMonkey (JavaScript-C) Engine]
* [http://developer.mozilla.org/en/docs/SpiderMonkey Documentation for SpiderMonkey]
* [http://sourceforge.net/docman/display_doc.php?docid=10853&group_id=50913 Franky Braem Tutorial on using JS from C++]
* [http://www.wxjavascript.net wxJavaScript, porting wxWidgets using SpiderMonkey]
* [http://SpiderApe.sourceforge.net SpiderApe] - a C++ library built on top of SpiderMonkey, intended to simplify the process of embedding and extending SpiderMonkey
* [http://soubok.googlepages.com/javascript Some projects that use Spidermonkey engine] - JavaScript Native Interface, JavaScript Host
* [http://code.google.com/p/jslibs/ jslibs project] - zlib, SQLite, NSPR, ode, libpng, libjpeg, libffi, (...) libraries for SpiderMonkey.
* [http://malzilla.sourceforge.net/ Malzilla] - Tool for hunting malware by deobfuscating JavaScripts on web pages, using SpiderMonkey
* [http://www.trixul.com/ TriXUL] - [http://trixul.cvs.sourceforge.net/trixul/trixul/layout/jsengine (TriXUL CVS)] - Trixul XML-based GUI toolkit embeds SpiderMonkey, using JavaScript to implement logic behind its GUI, supporting calls from JavaScript to C++ objects.


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Rhino (JavaScript engine) — Rhino Developer(s) Mozilla Foundation / Mozilla Corporation Stable release 1.7R3 / May 9, 2011; 6 months ago ( …   Wikipedia

  • Narcissus (JavaScript engine) — Narcissus is an open source JavaScript engine. It was written by Brendan Eich, who also wrote the first JavaScript engine, SpiderMonkey. Its name is based on the mythical figure of Narcissus, who fell in love with himself. This relates to the… …   Wikipedia

  • V8 (JavaScript engine) — Google V8 JavaScript Engine Developer(s) Google Stable release 3.7.8[1] / November 17, 2011; 2 days ago …   Wikipedia

  • Tamarin (JavaScript engine) — Infobox Software name = Tamarin logo = caption = developer = Adobe Systems and Mozilla latest release version = latest release date = operating system = Cross platform genre = Virtual Machine for ECMAScript license = Tri licensed GPL, LGPL, and… …   Wikipedia

  • SpiderMonkey — Maintainer Mozilla Foundation Entwickler Mozilla Foundation Betriebssystem plattformübergreifend Programmier­sprache C Lizenz …   Deutsch Wikipedia

  • SpiderMonkey — est le nom de code du premier moteur JavaScript. Il a été écrit par Brendan Eich à Netscape Communications et délivré plus tard comme un logiciel open source. SpiderMonkey est maintenant maintenu par la Fondation Mozilla. SpiderMonkey est écrit… …   Wikipédia en Français

  • Javascript — ist eine Skriptsprache, die hauptsächlich für das DOM Scripting in Web Browsern eingesetzt wird. Dabei ist unter JavaScript die Gesamtheit aus den Eigenschaften des Browsers (beziehungsweise Clients oder Scripting Hosts) sowie des Document Object …   Deutsch Wikipedia

  • JavaScript — Paradigmen: multiparadigmatisch Erscheinungsjahr: 1995 Entwickler: Brendan Eich Aktuelle Version: 1.8  (2008) …   Deutsch Wikipedia

  • JavaScript — Infobox programming language name = JavaScript paradigm = Multi paradigm: prototype based, functional, imperative, scripting year = 1995 designer = Brendan Eich developer = Netscape Communications Corporation, Mozilla Foundation latest release… …   Wikipedia

  • JavaScript — Не следует путать с Java. JavaScript Класс языка: мультипарадигменный …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”