3 ms·
As I understand Webassembly, it's meant to replace JS completely as a native implementation in a browser. That is, it's meant to replace the JS interpreter. N
by mmanulis 9y ago
As I understand Webassembly, it's meant to replace JS completely as a native implementation in a browser. That is, it's meant to replace the JS interpreter.
Not sure if I understood it correctly though.
- flavio81 9y agoNot exactly. The browser, instead of downloading javascript, downloads WASM bytecode, and this bytecode gets compiled ahead-of-time to machine language and ran by the browser. The bytecode itself is the product of compiling a source code written in the language of your choice, for example Java or something more advanced like INTERCAL.
- mmanulis 9y agoI see, that makes sense. The bytecode part still has to be implemented in a browser though, right?