AdamGoodApp / wasm-game-of-adam

Game Of Life written in Rust and packaged to WASM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wasm-game-of-adz

A Rust and WebAssembly implementation of the smashing hit, Game of life, using wasm-pack.

Built with πŸ¦€πŸ•Έ by The Rust and WebAssembly Working Group

About

JavaScript Web applications struggle to attain and retain reliable performance. JavaScript's dynamic type system and garbage collection pauses don't help. Seemingly small code changes can result in drastic performance regressions if you accidentally wander off the JIT's happy path.

Rust gives programmers low-level control and reliable performance. It is free from the non-deterministic garbage collection pauses that plague JavaScript. Programmers have control over indirection, monomorphization, and memory layout.

🚴 Usage

πŸ› οΈ Build with wasm-pack build

wasm-pack build

πŸ”¬ Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Run locally in /www

npm run start

πŸ”‹ Batteries Included

About

Game Of Life written in Rust and packaged to WASM

License:GNU General Public License v3.0


Languages

Language:JavaScript 55.7%Language:Rust 30.7%Language:CSS 10.6%Language:HTML 2.9%