3 ms·
AS3 did compile to bytecode. Flash used a JIT and achieved phenomenal performance compared to JS engines of the times.
by nojvek 6y ago
AS3 did compile to bytecode. Flash used a JIT and achieved phenomenal performance compared to JS engines of the times.
- masswerk 6y agoBut this was more a 1:1 representation of the source with generic markers for any arguments and local variables (in functions), as far as I remember. However, there was also an optimization option in the compiler. (But, of course, type hinting instructed the byte code emitted by the compiler.)
- nojvek 6y agoAbsolutely. AS3 bytecode was heavily inspired from java bytecode. There were a number of asks to get a server version of AS3 but Adobe was too invested in coldfusion to make it happen. Adobe is a classic example of having too many products that they’d let internal innovation stifle. Can’t blame them but that’s why we needed Flash to be open source. Adobe did a poor job letting it realize it’s true potential.