3 ms·
True, but the asm.js is then compiled to machine code by the browser's JS JIT. I'd expect some overhead from sandboxing etc., but it should be fairly close to
by azakai 8y ago
True, but the asm.js is then compiled to machine code by the browser's JS JIT.
I'd expect some overhead from sandboxing etc., but it should be fairly close to native speed.
- ris 8y agoIt's not "overhead from sandboxing" that's a problem, it's the fact that translating from bytecode to bytecode to bytecode will cause it to lose some ... succinctness at each step, giving the final machine code generator a harder time coming up with efficient code for it.