Tamarin or the Actionscript VM2 open source

So what is Tamarin?

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.

Adobe gave the VM to Mozilla with some developers to work on it.

Some quotes that you could find interesting:

The Tamarin release will include the following components:

  • Source code from the ActionScript Virtual Machine (AVM2) as currently shipping in Adobe Flash Player 9, including the Just In Time (JIT) runtime compiler and conservative garbage collector.
  • A partial implementation of a prototype compiler written in ActionScript, which will be developed by the open source community to implement all of the ECMAScript 4th edition specification. This will be a “self-hosted” compiler that is written in the language it compiles.

AVM2 supports full runtime error reporting, built-in debugging, and
binary socket support so developers can extend the player to work with any binary protocol. The AVM2 also features a Just In Time (JIT) compiler that translates ActionScript bytecode to native machine code for maximum execution speed

Adobe’s contribution of source code from the ActionScript Virtual Machine to the Tamarin project accelerates the ability of developers to create and deliver richer, more interactive and engaging experiences that work across multiple platforms.

It’s all good … 🙂

Sources Code
Tamarin on
FAQ on
Adobe Press release
Tamarin vs Javascript Performance