2 ms·
> Instead, I'd bet the Chrome team are just watching for JS which matches the asm.js spec No. All optimizations that V8 are doing are following from the JavaSc
by mraleph 13y ago
> Instead, I'd bet the Chrome team are just watching for JS which matches the asm.js spec
No. All optimizations that V8 are doing are following from the JavaScript specification itself, not from asm.js specification. V8 does not use asm.js specification in any way (including type rules that asm.js prescribes). If you take asm.js code and slightly change typing so that it will no longer pass asm.js type check but still be reasonable V8 will continue to optimize what it can.