27.03.2008, 18:29
|
#2
|
Inventar
Registriert seit: 24.01.2001
Beiträge: 5.631
|
Tamarin: Virtuelle Maschine und Tokencompiler für JavaScript 2
Zweck: Dynamischer volatiler Titelgenerator und Highlevel-Webpersonalizer
Kurzerklärung: Einzelne Datenfelder einer Webseite können in Intervallen aktualisiert werden. Webinhalte werden auf den Benutzer angepasst (Web 2.0).
Tamarin Project
Zitat:
Goals
The goal of the "Tamarin" project is to implement a high-performance, open source implementation of the ECMAScript 4th edition (ES4) language specification. The Tamarin virtual machine will be used by Mozilla within SpiderMonkey, the core JavaScript engine embedded in Firefox®, and other products based on Mozilla technology. The code will continue to be used by Adobe as part of the ActionScript™ Virtual Machine within Adobe® Flash® Player.
The Tamarin virtual machine currently implements the ECMAScript 3rd edition language standard that is the basis for JavaScript, Adobe ActionScript, and Microsoft Jscript, plus some of the new language features proposed in the ECMAScript 4th edition specification. By working on an open source implementation of ES4 with the community, Adobe and Mozilla hope to accelerate the adoption of a standard language for creating engaging Web applications. We hope the Tamarin project accelerates the ability of developers to create and deliver richer, more interactive experiences that work across multiple platforms.
Roadmap
Tamarin will support the forthcoming ECMAScript Edition 4 ("JS2") language and will be integrated into SpiderMonkey as part of the Mozilla 2 project, to be released in 2008. Brendan Eich's Roadmap Update for Mozilla 2 provides broad details on Mozilla 2 and Tamarin's role in this roadmap.
The Tamarin project is just getting started so the roadmap is not yet fully developed, but some of the technical goals include:- Integrating the Tamarin VM and garbage collector within SpiderMonkey
- Using the SpiderMonkey compiler to generate code for Tamarin
- Porting the just-in-time compiler to new hardware platforms
- Completing the self-hosting ECMAScript 4 compiler
|
Tamarin (JIT)
Zitat:
Tamarin is a free virtual machine and just in time compiler intended to implement the fourth edition of the ECMAScript standard, commonly referred to as JavaScript 2.
Tamarin was initially developed by Adobe Systems for its ActionScript Virtual Machine (AVM) used in Flash 9 and up. The code was donated to the Mozilla project on November 7, 2006.[1] The contributed code is tri-licensed under the GPL, LGPL, and MPL and will continue to be developed in Mozilla CVS, as the rest of Mozilla source code.[2]
The contributed code is approximately 135,000 lines of code[3] making it the largest single donation of code to Mozilla project besides Netscape itself.[4]
Tamarin will be part of Mozilla 2[5] (and therefore part of Firefox). The project to integrate Tamarin and SpiderMonkey is called ActionMonkey.[6][7]
Tamarin will also continue to be used in the future versions of Flash.
|
mozilla.org: Tamarin FAQ
mozilla developer center: Tamarin
Adobe Developer Connection: What Tamarin means to developers
mozilla wiki: Tamarin
Frank Hecker :: Adobe, Mozilla, and Tamarin
Zitat:
The current SpiderMonkey JavaScript engine (used in Firefox, etc.) will not be replaced, as it does more than just provide a virtual machine; rather the Tamarin code will be integrated into SpiderMonkey. On compilers, the current SpiderMonkey engine can convert JavaScript to byte code, but does not have the ability to convert byte code to native machine instructions; this is a major feature that Tamarin provides. I don't know enough to comment on relative code quality; I'll leave this to others who've actually had experience with both code bases.
|
|
|
|