3 ms·
For web programming, WebAssembly is still not enough. It solves the problem of how to run your non-web based code in a browser, but until it can interoperate w
by marcosdumay 6y ago
For web programming, WebAssembly is still not enough.
It solves the problem of how to run your non-web based code in a browser, but until it can interoperate with the DOM, JS will continue to be mandatory.
- bluejekyll 6y agoI think you mean efficiently interoperate with the DOM. There are plenty of abstractions (at least that I’ve worked with in Rust) that allow for dynamic management of the DOM. For example, see the wasm-bindgen and the generated web-APIs in web-sys: https://docs.rs/web-sys/0.3.49/web_sys/ https://docs.rs/web-sys/0.3.49/web_sys/ A nice framework that takes advantage of this is yew: https://yew.rs/docs/en/ https://yew.rs/docs/en/