On 1/30/13 1:12 AM, "Roland Zwaga" <rol...@stackandheap.com> wrote:
> I'm pretty sure that the snappiness of HTML5 applications has little to do
> with the execution speed of JS.
> In most modern browser VM's JS actually is faster than AS3, the trouble
> starts when dealing with UI stuff,
> which is more DOM or Canvas related.
I've seen some information that implies that execution speed of AS and JS
depends a lot on how strongly typed it is (for JS, I think that includes
both type hints and type inference) and how often that code runs. In AS,
just about everything gets JIT'd, and for Flex, we have lots of code that
runs once (or relatively few times) and despite the fact we use strict-mode
compilation, is not nearly as strongly typed as as it could be.
One of the things I'm trying to do in my rewrite is create more re-usable
chunks of code and allow for more strong typing.
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui