Re:Goodbye PNaCl, Hello WebAssembly (2017)
by fb03 on Monday May 30, 2022 @10:26AM
(#31559316)
Yeah it is! I've just made a game in Bevy and it compiled straight off to a 'web page' using Rust's wasm32-unknown-unknown target and wasm-bindgen to generate the bindings betweeen the wasm and js world (this is a limitation they are still working on - wasm blobs cannot directly access the DOM).
as soon as a wasm blob can directly access a webpage's DOM, you are free to use whatever language you want for your frontend, instead of JS. a pretty big deal if you ask me.
as soon as a wasm blob can directly access a webpage's DOM, you are free to use whatever language you want for your frontend, instead of JS. a pretty big deal if you ask me.