Wednesday, November 08, 2006

Project Tamarin

By now everyone has heard the news that Adobe will donate code for its ActionScript VM to the Mozilla Foundation for use in Firefox. For a quick snapshot of what's going on, see:

A lot of the blog commentary around this has centered on Flash. IMHO this has little to do with Flash. It has everything to do with ECMA4/JS2 (see my blog entry previous to this one) and the future of AJAX. It will also keep Adobe honest in terms of making sure ActionScript doesn't continue on the path of becoming its own bastard variant of JavaScript (a la JScript), which is to say a not-quite-compliant dialect of ECMA-262.

The ability to run JIT-compiled JavaScript on a VM is killer, because it knocks down all complaints of JS being slow. And it also opens the door to ultra-fast JS on the server (and pure-JS doublesided AJAX).

The VM architecture looks like this:

But again, it's not really about .swf, it's about compiling JS2 into bytecode, which is an incredibly important advancement.

Brendan Eich held an IRC chat yesterday in which he and Kevin Lynch of Adobe fielded questions about Tamarin. A few interesting factoids came to light:

  • Acrobat's JS engine will move from Spidermonkey to Tamarin.
  • The expansion factor for jitting bytecode to x86 is roughtly from 5X for strongly typed, early-bindable code, to 20X for loosly typed, unbindable code. Thus, you pay a price in memory hunger for the ability to JIT-compile JS, but JS2's new typing system mitigates it somewhat.
  • The Tamarin codebase comprises 135,000 lines of C++ (smaller than I would have thought). This is sure to grow but Brendan Eich indicated very strongly that Firefox needs to shrink, not grow, hence there will be pressure to keep Tamarin as lean and efficient as possible.
  • Tamarin is not 64-bit-ready. But if the project gets the kind of (huge) traction that it appears it will get in the community, the "64-bit Flash" question may finally get solved. And maybe ES4/JS2 will get a "long" data type in addition to int/uint/double. ;^)


  1. This project and program of the constructors are very important and necessary. Its demand and need is urgent for the customers and all individuals. It is learned from essay services catchy reviews com. The process is very honourable and long lasting.

  2. The packer and movers in Hyderabad load and unload your household items using the necessary equipment and techniques depending on your specific requirements.
    Movers and Packers in Hyderabad
    Movers and Packers in Jubilee Hills
    Movers and Packers in Banjara Hills
    Movers and Packers in Kondapur

  3. Customer's satisfaction with safe and secure packing and moving services at the proper time is the only aim of our organization.
    Movers and Packers in Vashi
    Movers and Packers in Chembur
    Movers and Packers in Jogeshwari
    Movers and Packers in Kharghar
    Movers and Packers in Dombivli

  4. Thanks for sharing valuable Information, I really very impressive on your blog. I hope you continue on blogging job.

    Website Designer

  5. Excellent information Providing by your Article, thank you for taking the time to share with us such a nice article. Amazing insight you have on this, it's nice to find a website that details so much information about different artists. Kindly visit the LiveWebTutors website we providing the best online Assignment Help services in Australia.

  6. Packers and Movers Pune Provide High Quality ***Household Shifting, Home/Office Relocation, Insurance, Packing, Loading, ###Car Transportation Service Pune and High experiences, Top Rated, Safe and Reliable, Best and Secure Packers and Movers Pune Team List. Get ✔✔✔Affordable Rate Charts and Compare Quotation and Save Money and Time @
    Packers And Movers Pune

  7. Thanks for sharing this post. I want to share some helpful information regarding aws live class software development company assistance. We also provide services like Online live class, aws live class, virtual live class etc.

  8. Very nicely explained and include all important information.I also recommend visiting live classes software development company

  9. Indeed, demonstrating is mind blowing work to get money regardless the general open who essentially join this field for checking money aren't exceptional. You can get best essay writing services for more info as they essentially endeavor to contribute the hugeness and burn through the time in schools and colleges and don't prepare the understudies well structure center.

  10. Very nicely explained and include all important information. I also recommend visiting best astrologer in india

  11. AKGVG & Associates is the best organization and team of accountant experts. We provide services like Gst Registration In Delhi Company Compliance & Advisory Services India Book Keeping & Accounting Fixed Asset Register (Far) Maintenance and Far Updation In Software etc. Apart from this we also help Business to grow fast in 2021 with our business advisory firm.

  12. Great post keep up the good work. Thank for share amazing blog..
    Australia Assignment Help

  13. If you are an Interior fanatic then this is your chance to seal the deal with the best office furniture Manufacturers. CPM systems have cracked every aspect of delivering the best Office furniture to their clients. Whether it’s strictly time-framed deliveries, precise installations, a wide range of models and designs, or a supportive team of field experts. Our collection goes through rigorous quality control before it is turned over to the clients. Visit our website to get your ideal office furniture manufacturer.

  14. Thanks for your content…Please visit my site!
    Sydney Bus Hire


Add a comment. Registration required because trolls.