A CHIP-8 emulator written in Rust that compiles to WebAssembly using wasm-bindgen
and wasm-pack
. Read my blog post about the project!
No JavaScript other than the Wasm module instantiation has been manually written. Instead, bindings to JavaScript APIs has been done automatically using the js-sys
and web-sys
crates.
cargo build && ./build-wasm.sh
cargo run -p chip-8-server
Then, browse to http://127.0.0.1:3000.