Re:Unreal JavaScript
by MasterScrat on Wednesday May 08, 2013 @10:33AM
(#5674306)
No, it's still JavaScript. The fact that it's compressed or not human-readable doesn't make it bytecode.
[ Parent
| on HN ]
"It might as well be bytecode."
So can you add some dynamic code into asm.js and expect same performance? Asm.js is an assembly that looks like JavaScript for compatibility and readability.
Re:Unreal JavaScript
by ndesaulniers on Wednesday May 08, 2013 @08:53PM
(#5678136)
No, asm.js code that parses successfully is compiled ahead of time. It is a strict subset of the JavaScript programming language. If you use parts other than the subset, it will fail to parse as valid asm.js code and revert to the interpreter/JITs.