2 ms·
> At least C/C++/Rust/Go give you some neat guarantees Wow, imagine if you could compile these to WASM. > Besides, you could probably just write the interpret
by pphysch 3y ago
> At least C/C++/Rust/Go give you some neat guarantees
Wow, imagine if you could compile these to WASM.
> Besides, you could probably just write the interpreter in vanilla JS and it would be comparably fast (at least in Chrome), so WASM is completely superfluous.
This one is going in the orange site bookmarks, lol.
- dvt 3y ago> This one is going in the orange site bookmarks, lol. I mean, benchmarks say the performance gains are from 0.2%-60% comparing vanilla JS to WASM given various browsers (keep in mind it's not even twice as fast even in synthetic benchmarks). So I guess you're right: if I built my next todo web app, I'd definitely want to change my entire workflow, write a custom purpose-built runtime, and transpile from Python to WASM to eek out that sweet sweet performance in Google Chrome. I don't even think we live on the same planet.
- pphysch 3y agoAgreed.