3 ms·
>Doesn’t WASM provide a graceful and natural end to JavaScript’s hegemony? People can just use whatever language they want in the browser now. Not really since
by DeathArrow 4y ago
>Doesn’t WASM provide a graceful and natural end to JavaScript’s hegemony? People can just use whatever language they want in the browser now.
Not really since you can't manipulate the DOM from WASM.
- berkes 4y agoThat presumes that most of what JS does it "manipulating DOMs". At least in my frontend-code, this isn't the case. There is nearly always a much larger part that communicates with backends, sockets, HTTP, manages state, business logic and -validation etc. The "writing it to screen" is often a rather thin layer. At least in my projects.
- oofbey 4y agoYou probably wouldn't want to have to code in multiple languages even for a thin layer. Somebody could build that thin JS layer once for your language. Sounds like that's happening.