madelyneriksen / life-in-rust

Conway's Game of Life, built with Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conway's Game of Life in Rust

Wow, compiled code is really fast. This implementation of Life uses a HashSet for speedy checks over a sparse "array".

Getting Started 🚀

There are no dependencies beyond the standard library, a stable rust compiler, and cargo. Simply clone and compile!

git clone https://github.com/madelyneriksen/life-in-rust .
cargo build --release

Life With Hashmaps (or sets)

I originally talked about this in a blog post where I used a Python dictionary to create a very efficient version of Life. The same algorithm is used in the Python and Rust implementations, so if you're curious check it out!

Of course, Rust is way faster. 🔥

License

  • MIT

About

Conway's Game of Life, built with Rust


Languages

Language:Rust 100.0%