Skip to content

madelyneriksen/life-in-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages