3 ms·
> Before WASM you could already compile code from other languages into JavaScript. And have the same benefits as you have with WASM. If you are referring to as
by DanielHB 2y ago
> Before WASM you could already compile code from other languages into JavaScript. And have the same benefits as you have with WASM.
If you are referring to asm.js you must be joking. asm.js was basically a proof of concept and is worse in every way compared to WASM.
Like parsing time overhead alone makes it a non-option for most large applications.
You seem to imply you should just do it in plain JS instead for "deployment, execution and debugging" benefits. Imagine if you could be free to use those python ML libs in any language of your choice, that alone is enough of an argument. No one is going to reimplement them in JS (or any other environemtn) unless there is a huge ecosystem movement around it.