4 ms·
While WebAssembly is better for some things than JS, for most code you run in a browser, it's no improvement and actually worse. When you do need wasm, though,
by azakai 5y ago
While WebAssembly is better for some things than JS, for most code you run in a browser, it's no improvement and actually worse.
When you do need wasm, though, then it opens up entire new possibilities, things you really couldn't do before. I like to compare wasm to the video element: not every site should use it, and it won't replace JS or CSS or HTML, but its existence makes things like YouTube and Netflix possible.
The future of code on the web is JS + wasm.
- pjmlp 5y agoThe future is WebGL/canvas + WASM, Flash's revenge.