Comment by stkdump

4 hours ago

There goes my plan to use js code generation at runtime to make my algorithms faster. Doing this with wasm will be much harder.

Just try the asm.js subset and see how it performs for you, I remember that even without the special asm.js support in browsers Emscripten output performance was surprisingly good

  • In fact, I think it was only firefox that made a special JIT route. Chrome moved optimizations into the regular JIT.

It will still work. asm.js is just regular JavaScript code, after all. It just won't parse/run as fast as custom pipeline for asm.js. My guess is that you will not notice much difference unless you have a really huge application.