Hacker News new | ask | show | jobs
by encryptluks2 1358 days ago
GoReleaser and Cargo do that already. Cross-compilation is nothing new.
1 comments

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.