2 ms·
Why would someone think that the purpose of WASM is to speed up JavaScript?
by dboreham 5y ago
Why would someone think that the purpose of WASM is to speed up JavaScript?
- sam0x17 5y agoI read that sentence as replace the word "JavaScript" with "Frontend" and it made more sense. Generally though, I think wasm represents an opportunity to break the strangle-hold JavaScript has had on the frontend ecosystem for nearly 3 decades. Typed, compiled languages typically have huge advantages in terms of safety and performance over dynamically typed interpreted languages. And now a lot of high-level features and syntactic sugar that used to be only available in dynamic languages is becoming available in systems languages.
- fulafel 5y agoSIMD is locked away behind WebAssembly, for many tasks you'll be giving up many multiples of available performance if you stick to JS.