85
What's stopping WebAssembly from effectively replacing JavaScript?
(programming.dev)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I've ported games to web using WASM. You still need to interact with HTML DOM using JS, no way around it.
You use WASM when you either need raw CPU speed, or you have some C++ code that you don't want to rewrite in JS.
If you just want to make a website, pure JS is better, unless you're that kind of dev who prefers to render their own text strings pixel by pixel.