SpiderMonkey

SpiderMonkey
SpiderMonkey
Maintainer Mozilla Foundation
Entwickler Mozilla Foundation
Betriebssystem plattformübergreifend
Programmier­sprache C
Lizenz MPL
Deutschsprachig Nein
http://www.mozilla.org/js/spidermonkey/

SpiderMonkey ist der Codename für die erste jemals entwickelte JavaScript-Engine, welche von Brendan Eich von Netscape Communications herausgebracht und später als Open Source freigegeben wurde. SpiderMonkey wird nun von der Mozilla Foundation weiterentwickelt.

Inhaltsverzeichnis

Grundlagen

SpiderMonkey ist in C geschrieben und enthält einen Compiler, Interpreter, Decompiler, ein Tool für die automatische Speicherbereinigung sowie Standard-Klassen. Es liefert allerdings keine host environments wie z. B. Document Object Model (DOM).

Der Nutzen von SpiderMonkey soll sein, in andere Programme integriert zu werden, welche host environments für Javascript liefern. Die bekanntesten Programme sind Mozilla Firefox und die Mozilla Application Suite/SeaMonkey, darüber hinaus noch Adobe Acrobat und der Adobe Reader. SpiderMonkey ist ferner noch die JavaScript-Engine von Yahoo Widgets (besser bekannt als "Konfabulator") und UOX3 (UOX), einem Emulator für das Onlinespiel Ultima Online. Eine weitere bekannte und kreative Verwendung der SpiderMonkey Javascript-Engine ist das Open-Source-Suite Sphere, welche aus Programmen besteht, die primär für das Designen von Rollenspielen gedacht sind. Auch das dokumentenbasierte Datenbanksystem CouchDB führt über SpiderMonkey JavaScript-Code aus. SpiderMonkey und seine Schwesterengine Rhino haben Unterstützung für den ECMAScript for XML (E4X)-Standard implementiert.

Weiterentwicklung

Zwischen 2006 und 2008 wurde versucht, das von Adobe an Mozilla gestiftete Tamarin in SpiderMonkey zu integrieren, um eine verbesserte Engine zu erhalten, die von Mozilla und Adobe parallel genutzt werden kann. Tamarin wurde damals von Adobe um eine experimentelle Optimierungsfunktion namens Tracing erweitert, durch welche ein Geschwindigkeitsvorteil erhofft wurde. Das „ActionMonkey“ genannte Projekt wurde 2008 eingestellt, da unter anderem die erhofften Geschwindigkeitsverbesserungen gegenüber SpiderMonkey nicht erreicht wurden, andererseits in SpiderMonkey schon enthaltene Fähigkeiten für Tamarin/ActionMonkey neu umgesetzt werden müssten.[1]

TraceMonkey

Seit 2008 wird SpiderMonkey unter dem Projektnamen „TraceMonkey“ um verbesserte Tracingfunktionen[2] erweitert.[3] Die neue Engine ist erstmals in Firefox 3.5 enthalten.[4][5] Durch die neue Engine wird in einigen Fällen ein Geschwindigkeitsvorteil um den Faktor 20 bis 40 gegenüber der Vorgängerversion erreicht.[6]

JägerMonkey

JägerMonkey ist ein Projekt, das die JavaScript-Engine SpiderMonkey beschleunigen will. Dieses Ziel soll durch zusätzliche Optimierungen am Quellcode erreicht werden.[7] Es fügt Inline Threading hinzu und nutzt den Assembler von Nitro, der JavaScript-Engine von WebKit.[8]

Siehe auch

Quellen

  1. Mozilla Corporation: JavaScript:ActionMonkey, abgerufen am 20. Februar 2009, englisch
  2. Andreas Gal, Michael Bebenita, Mason Chang und Michael Franz: Making the Compilation „Pipeline“ Explicit: Dynamic Compilation Using Trace Tree Serialization
  3. Mozilla Corporation: JavaScript:TraceMonkey, abgerufen am 20. Februar 2009, englisch
  4. Brendan Eich: TraceMonkey: JavaScript Lightspeed, 23. August 2008, englisch
  5. heise Newsticker: Firefox-Entwickler planen weiten Versionssprung, 6. März 2009
  6. http://arstechnica.com/news.ars/post/20080822-firefox-to-get-massive-javascript-performance-boost.html
  7. http://www.bailopan.net/blog/?p=683
  8. https://wiki.mozilla.org/JaegerMonkey

Weblinks


Wikimedia Foundation.

Игры ⚽ Поможем решить контрольную работу

Schlagen Sie auch in anderen Wörterbüchern nach:

  • SpiderMonkey — Тип Движок JavaScript Автор Брендан Айк Разработчики Mozilla Foundation/Mozilla Corporation Написана на Си/C++ Аппаратная платформа Кроссплатформенное программно …   Википедия

  • 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

  • SpiderMonkey — Este artículo o sección se encuentra desactualizado. Es posible que la información suministrada aquí haya cambiado o sea insuficiente. Se ha sugerido que …   Wikipedia Español

  • SpiderMonkey (taxonomy editor) — SpiderMonkey is an XBRL taxonomy editor developed by CoreFiling Ltd. The organization is unique for its multi user features, which allow any number of users to work on a taxonomy concurrently. The taxonomy is stored in a version control system… …   Wikipedia

  • 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 =… …   Wikipedia

  • spidermonkey — spider monkey n. Any of several tropical American monkeys of the genus Ateles, having long legs and a long prehensile tail and lacking a thumb. * * * …   Universalium

  • TraceMonkey — SpiderMonkey это кодовое имя первого в истории движка, или интерпретатора, англ. JavaScript engine). SpiderMonkey был написан Бренданом Эйхом во время его работы в Netscape Communications, а позднее сделан открытым. В настоящее время SpiderMonkey …   Википедия

  • Spider monkey (disambiguation) — Spidermonkey can refer to:* Spider monkey, found in the tropical forests of Mexico and Brazil. * SpiderMonkey (taxonomy editor), the XBRL taxonomy editor developed by CoreFiling Ltd. * SpiderMonkey (JavaScript engine), the code name for the first …   Wikipedia

  • Comparison of server-side JavaScript solutions — This is a list of Server side JavaScript solutions. Contents 1 Server side JavaScript use 2 See also 3 External links 4 References …   Wikipedia

  • List of Ben 10 aliens — This is the list of all aliens of the Omnitrix and Ultimatrix showed in the Ben 10 universe Contents 1 Aliens introduced in Ben 10 1.1 Heatblast 1.2 Wildmutt 1.3 Diamondhead …   Wikipedia

Share the article and excerpts

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