Conway's Game of Life implemented in Rust and WebAssembly using wasm-pack.
This was made by following the tutorial from the rustwasm book.
wasm-pack build
cd www
npm run start
Open https://localhost:8080 in your browser
wasm-pack test --headless --firefox
wasm-bindgen
for communicating between WebAssembly and JavaScript.console_error_panic_hook
for logging panic messages to the developer console.wee_alloc
, an allocator optimized for small code size.