Skip to content

A chip8 emulator written in rust, intended for the web through WebAssembly

Notifications You must be signed in to change notification settings

LucasHill/chip8-rust-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 in Rust + Webassembly

Overview

This is a fun demo of a chip-8 interpreter written in Rust, intended to be used in the browser using webassembly. A demo site is included to use the compiled web assembly. The WASM/JS memory layer is managed by wasm-bindgen which helps you write much more sane rust structs/methods which can be exported to be used in JavaScript.

Prerequisites

  • Node.JS + NPM
  • Yarn
  • Rust (nightly)
  • wasm-bindgen-cli
  • Firefox (Bugs in webpack prevent working in chrome)

Build

  • ./build_and_serve

References that helped me

About

A chip8 emulator written in rust, intended for the web through WebAssembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published