People think the web is a technology, or that JavaScript is a language.
They’re not. It’s not. The web is an idea: it’s the idea that every computer in the world already has the runtime on it that can run your next app. Whatever that is—whatever that runtime is—that’s “The Browser”.
WASM is not that. Maybe in 10 years.
You don't have to wait 10 years. You can start using WASM today.
I don’t want to write software just for people with 2 year old iPhones. I write software for everyone, especially people who can’t afford anything but the hardware they’re stuck with. That’s why I’m not going to target WASM.
That’s my point: to me, “The Web” isn’t just modern browsers on newish devices. It’s the whole world as an audience. I think that’s why so many people target the web.
I also think WASM is premature optimization in almost all situations.
That said, I totally support anyone who wants to target it. It’s dope technology. If you love Rust and you want to write browser apps with it, and limit your audience a little, knock yourself out. I don’t think you’re embracing what the web is for, but there’s no law that says you have to.
I’ll wait to talk about it again until after I have experience doing browser compatiblility testing with a WASM toolchain.