Run Your Rust Games in a Browser: Hands-on Rust Bonus Content

One of the great things about using Rust and bracket-lib is that you can compile your games for the web. Rust natively supports compiling to WebAssembly (aka. WASM). With a little bit of automated work to map web assembly bindings to native JavaScript, you can run your games in your browser.Here’s Flappy Dragon in your browserWASM does come with some limitations: Threading works differently in a web browser, and was largely disabled in response to the Spectre line of vulnerabilities.
 •  0 comments  •  flag
Share on Twitter
Published on November 06, 2021 07:46
No comments have been added yet.