An implemenatation of the classical simulation Conway's Game of Life written in Rust. Comes with a front end written in vanilla typescript.
The core Rust implementation of the game uses a delta-based approach to improve rendering performance. Only changed cells' states are returned in each tick, minimizing the amount of data that needs to cross the Rust-JS boundary and eliminating the need of re-rendering the entire universe in each tick.
The front end is powered by Offscreen Canvas and Web Workers. The rendering task is offloaded from the main thread so that user interactions are not blocked during rendering.
This project is implemented by following the Rust WASM guide with some modifications. Code licensed under MIT.