3 ms·
WASM will be the default for any non-trivial web apps in the next few years (assuming the DOM access gets addressed). Why would you ship JavaScript of the inter
by mgamache 8y ago
WASM will be the default for any non-trivial web apps in the next few years (assuming the DOM access gets addressed). Why would you ship JavaScript of the internet to then get compiled locally? I know there's arguments for JIT, but I don't think they make sense for JavaScript. Also devs hate JavaScript! Okay, I know we don't all hate it and I know it's popular, but really why does TypeScript exist? It's just a rational way to produce JS that hides the silly nature of JS. Now you don't need JS (or TypeScript) choose the language that works best.
- nerdponx 8y agoDoes WASM reduce (or at least not-increase) payload size? If not, I'm not sure it's worth it unless the performance improvement is really big.
- mgamache 8y agoAFAIK it does reduce the overall size for equivalent code.
- freeopinion 8y agoYes. WASM reduces the payload size.
- markdog12 8y agoIt reduces size, but perhaps more importantly, reduces parsing time, which is crucial, particularly for slow mobile devices.