> I start wondering what we're supposed to do with all those precious milliseconds it just handed us back
Speed matters. WebAssembly is taking jobs from JavaScript precisely because it's faster.
The calculation engine for Google Sheets became twice as fast with the switch to WebAssembly: <a href="https://web.dev/case-studies/google-sheets-wasmgc" rel="nofollow">https://web.dev/case-studies/google-sheets-wasmgc
The Amazon Prime Video app became twice as fast with less variability in performance when they switched to WebAssembly: <a href="https://www.amazon.science/blog/how-prime-video-updates-its-app-for-more-than-8-000-device-types" rel="nofollow">https://www.amazon.science/blog/how-prime-video-updates-its-...
Compiling to WebAssembly enables every language to run in the browser. Google used Java and Amazon used Rust.
It's late for me. I've commented plenty on this thread but I'll revisit this particular comment tomorrow with my assessment of these two blog posts.
Just skimming the Google Sheets wasm one, looks like pure technical debt chaos so I'm already plenty suspicious.
Suffice it to say that all these pseudo-technical but actually marketing blog posts should be taken with a truckload of salt. Apples-to-oranges unless proven otherwise.
Here's a presentation on the Amazon Prime Video stuff. The talk's about 50 minutes long: <a href="https://www.infoq.com/presentations/prime-video-rust/" rel="nofollow">https://www.infoq.com/presentations/prime-video-rust/
cisc · · focus · HN ↗
Speed matters. WebAssembly is taking jobs from JavaScript precisely because it's faster.
The calculation engine for Google Sheets became twice as fast with the switch to WebAssembly: <a href="https://web.dev/case-studies/google-sheets-wasmgc" rel="nofollow">https://web.dev/case-studies/google-sheets-wasmgc
The Amazon Prime Video app became twice as fast with less variability in performance when they switched to WebAssembly: <a href="https://www.amazon.science/blog/how-prime-video-updates-its-app-for-more-than-8-000-device-types" rel="nofollow">https://www.amazon.science/blog/how-prime-video-updates-its-...
Compiling to WebAssembly enables every language to run in the browser. Google used Java and Amazon used Rust.
suplexer · · focus · HN ↗
Just skimming the Google Sheets wasm one, looks like pure technical debt chaos so I'm already plenty suspicious.
Suffice it to say that all these pseudo-technical but actually marketing blog posts should be taken with a truckload of salt. Apples-to-oranges unless proven otherwise.
cisc · · focus · HN ↗