Hacker News new | ask | show | jobs
by tracker1 1358 days ago
You have that exactly backwards... WASM allows you to build in whatever language you like and target portable operation that includes a browser.
1 comments

GoReleaser and Cargo do that already. Cross-compilation is nothing new.
I think there is a difference between "compile once, run everywhere" and "code once, compile (for) everywhere".
Well, one the developers are smart enough to create optimized packages for each architecture but instead if they wanted to cater to bad practice JS fans they could create a universal binary.
Yeah sandbox security and isolated runtimes are horrible and all.
Those already exist without WASM
And portability without recompile or negotiating different delivery for different targets, and being able to run in a common browser that nearly every user connected internet capable device already has.