3 ms·
WASM is just another thing that makes the web platform (and Electron binaries) a fat bloated runtime. Anything you can do with WASM, you can do with Javascript,
by incrudible 6y ago
WASM is just another thing that makes the web platform (and Electron binaries) a fat bloated runtime. Anything you can do with WASM, you can do with Javascript, probably as fast or faster, because it all still needs to go through Web APIs to do anything interesting.
- bb010g 6y agoThere's a reason asm.js existed before Wasm, and it's not because JavaScript was just too dang fast.
- kevingadd 6y agoasm.js is JavaScript, specifically a subset of it that can be consistently optimized. So if your point is "JavaScript is slow", using JavaScript as your point of comparison is a bad way to prove it.