The preference is named as such to prevent people from being tricked into turning it on.
191 karma · joined October 29, 2011
The preference is named as such to prevent people from being tricked into turning it on.
Here is Shumway playing back this fantastic animation:
http://www.areweflashyet.com/shumway/examples/inspector/insp...
Shumway falls back on an interpreter if the control flow is not reducible.
It's all about graphics perf, not AS3 vs JS anymore.
Flash got a lot of things right, both the SWF file format and the authoring tools are pretty good. There's not much sense in re-inventing it (we could do without ActionScript though).
The hardest part about Flash is understanding how timeline animations interact with AS code: events, object construction order, for all versions of Flash. Shumway supports all SWF versions and the the three programming languages that are supported by the Flash player: AS1, AS2 and AS3.
1. We haven't implemented some feature well enough. 2. We can't implement a feature in JavaScript/HTML5 and we have to emulate it in a very slow way. In these cases, we can either improve the Web Platform to support these features natively, or work with various game developers to avoid using them.
The "let" keyword is left in there because we wanted to stay compatible with JS. So any JS program is also an LLJS program. This way it would be easy to integrate into an existing code base. As for the "let" vs. "var" debate, we chose "let" because of its block scoping semantics and because we didn't want to let variable declarations alias each other with different types.