Adobe and Mozilla Foundation Collaborate on ECMAScript 142
gemal writes "I just saw a project called Tamarin (AVM2 open source) Flash9_DotReleases_Branch initial revision checked into the Mozilla CVS repository. Shortly afterwards came the following press release: ' Adobe and the Mozilla Foundation today announced that Adobe has contributed source code for the ActionScript Virtual Machine, the powerful standards-based scripting language engine in Adobe Flash Player, to the Mozilla Foundation. Mozilla will host a new open source project, called Tamarin, to accelerate the development of this standards-based approach for creating rich and engaging Web applications. This is a major milestone in bringing together the broader HTML and Flash development communities around a common language, and empowering the creation of even more innovative applications in the Web 2.0 world.' You can read about the Tamarin project on the Mozilla site."
It can't be any worse than SpiderMonkey (Score:2, Interesting)
This is great news - assuming it replaces SpiderMonkey. The current JS engine in Mozilla is amazingly slow.
Re:Please add multithreading (Score:3, Interesting)
JIT for javascript (Score:3, Interesting)
this will (one day) give a just in time compiler
and virtual machine for javascript in firefox.
This should lead to big speedups in many
web applications
Re:It can't be any worse than SpiderMonkey (Score:1, Interesting)
The main thing that Adobe is providing is a virtual machine designed to run ActionScript and, with little modification, JavaScript as fast as possible.
The biggest slow down in Mozilla is its scripting interface. This should greatly help with that.
Request, Please. (Score:2, Interesting)
Re:Holy crap (Score:1, Interesting)
Re:If you need an ECMAScript parser.... (Score:1, Interesting)
The Tamarin project does not include Adobe's Java ECMAScript compiler used to create the abd block. Instead, it contains a "self hosting" compiler, located in this directory [mozilla.org]. Specifically, the ECMAScript parser, written in ActionScript, is here [mozilla.org]. This is explained in the FAQ.
ECMAScript... (Score:2, Interesting)
Re:Please add multithreading (Score:3, Interesting)
Where some function of thisY() is dependent on the execution of thisX(), except you're saying that thisX() runs slower than thisY(), so you write some sort of timeout to run thisY() after thisX has finished (by estimation, as you mentioned.)
Why don't you do this instead:
Such that the complete execution of function thisY() is dependent on the complete execution of function thisX() without having to set some timeout and basically, make your code wait around with fingers crossed for the first function to execute? I'm surprised you got modded up for this, and no one checked you before. The only time I ever use timeouts is when I actually want the code to run on human time, like "wait 5 seconds before refreshing some section of the page, or before you display an alert" or something to that effect, but never for code dependency. The parent's complaint regarding multithreaded is directed toward this, but the workaround is not to "time" your code.
Then again, I could be way off base here, and I'm sure someone will "fix" me.