3 ms·
No, it's still JavaScript. The fact that it's compressed or not human-readable doesn't make it bytecode.
by MasterScrat 13y ago
No, it's still JavaScript. The fact that it's compressed or not human-readable doesn't make it bytecode.
- jerf 13y ago"It might as well be bytecode."
- CmonNoReg 13y agoSo 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.
- ndesaulniers 13y agoNo, 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.