lnsfw3@lemmynsfw.comtoProgramming@programming.dev•What's stopping WebAssembly from effectively replacing JavaScript?English
3·
1 year agoThis is it.
WebAssembly AFAICT is all about making existing code runnable in a JavaScript environment. JavaScript isn’t great itself, but Chrome provides pretty amazing tooling, so it’s good enough.
Add to that: if you want to write WASM in a strongly typed language, you need support libraries that define all of the browser primitives. If you’re an accomplished web developer, it’s more effective to stay in js.
We’re replacing protocols with Rust now?