5 ms·
> Also, it sounds a bit strange, because Flash is statically compiled down to bytecode, while JavaScript is still very dynamic Doesn't ActionScript use the sam
by udp 14y ago
> Also, it sounds a bit strange, because Flash is statically compiled down to bytecode, while JavaScript is still very dynamic
Doesn't ActionScript use the same JIT as Mozilla's JS engine? (or did I imagine that?)
- bad_user 14y agoYou're referring to Tamarin, the engine open-sourced by Adobe in 2006. The part that's used in Firefox now is NanoJIT, extracted from Tamarin, which is a module for generating native code when doing JIT compilation. Read this older post from 2010 for some notes on it: http://hacks.mozilla.org/2010/03/a-quick-note-on-javascript-engine-components/ http://hacks.mozilla.org/2010/03/a-quick-note-on-javascript-...
- fridek 14y agoI think that NanoJIT was removed from Firefox with Trace JIT http://blog.mozilla.org/dmandelin/2011/11/29/js-development-newsletter-1123-1129/ http://blog.mozilla.org/dmandelin/2011/11/29/js-development-...
- reitzensteinm 14y agoNo, and it was slower even in 2008, which was well before the JS arms race V8 started: http://en.wikipedia.org/wiki/Tamarin_(software) http://en.wikipedia.org/wiki/Tamarin_(software)
- driax 14y agoNo it doesn't. Adobe did open-source their JIT and partnered with Mozilla for further development. But Mozilla could not make it fit Javascript well enough, and eventually their own JITs became faster, so they concentrated on them.