6 ms·
What will that do for non-firefox users though? asm.js is Firefox only, so it's another non-open platform really.
by kristianp 12y ago
What will that do for non-firefox users though? asm.js is Firefox only, so it's another non-open platform really.
- skybrian 12y agoThere's nothing Firefox-only about asm.js. It's a subset of JavaScript that runs in other browsers at reasonable speed since it's part of benchmarks that browser vendors are optimizing for. The pragma may be Firefox-only but nobody cares about that.
- gcp 12y agoIt won't do anything for non-Firefox users: things will just work, which is pretty much the entire point and a pretty huge difference from (P)NaCl and Flash. asm.js is nothing but a "hint" to the JS engine that some optimizations are possible. IIRC, Chrome hasn't implemented support for the pragma because they believe they can get the majority of the benefits by making V8 smarter.