Crates.io | conways-game-of-languages |
lib.rs | conways-game-of-languages |
version | 0.2.0 |
source | src |
created_at | 2024-05-13 19:07:58.605688 |
updated_at | 2024-05-13 19:29:20.142161 |
description | Conway's Game of Life written in Rust |
homepage | |
repository | |
max_upload_size | |
id | 1238770 |
size | 5,256,628 |
Rust compiler version used: 1.75.0 Cargo version used: 1.75.0
Run the program from the same directory as this README.md with the Glider Gun pattern for 100 generations: ./conways-game-of-languages -p "Glider Gun" -g 100
. To see which other patterns and parameters you can run the program with, use the command ./conways-game-of-languages -h
.
Rust is a difficult language to master. I've completed a full-length Rust course before, so I had some knowledge of Rust beforehand, but still it took me some time to complete this version. Writing Rust can be difficult and painful at times - mainly skill issues on my part -, but when you get it right, it's amazing. The compiler is the most helpful out of all the languages I've used when you do something wrong, and the LSP is fantastic. I love the verbose and strong type system used in Rust, but the readability suffers a bit from this. For some reason, dividing code into multiple files (or crates) is not as intuitive as in other languages, which just adds to the difficulty of the language. Rust also has a steep learning curve, especially due to the unique nature of the borrow-checker.
Pros:
Cons:
Overall score: 9