Any solution to write HTML5 games in rust?

Hey Rustaceans,

I find myself wanting to write a board game in Rust, for the fun of it. Of course, that game would be much more usable if it could be deployed as HTML5. Has someone already developed a toolchain that would let me do this without hassle?


1 Like

There is some effort to get Rust working out-of-the-box with Emscripten, unfortunately it's still a bit of a hassle: Make Rust work with emscripten · Issue #604 · rust-lang/rfcs · GitHub

There are some proof-of-concepts online already, the most notable one probably being a pure-Rust minecraft clone running in the browser (only seems to load properly in Firefox?):