Hacker News new | ask | show | jobs
by capableweb 1637 days ago
How.. Wai... What do you mean? There is a lot of difference! That's like saying Java bytecode is the same as Java source code, not nearly the same thing! Things that can run JS can run minified JS but doesn't mean it can run WASM, and just because something can run WASM doesn't mean it can run JS.
1 comments

If something can run wasm, it can run JS by running an interpreter compiled to wasm.

Conversely, wasm can be transpiled to JS, and asm.js is also a thing.