3 ms·
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 t
by fb03 4y ago
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.