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?



There is some effort to get Rust working out-of-the-box with Emscripten, unfortunately it’s still a bit of a hassle:

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?):