A practical Rust learning journey — from beginner to pro, one project at a time.
This repository is a hands-on guide to learning Rust by building real, working mini-projects. Each project is implemented in three progressively more advanced styles:
- Beginner – Simple, readable, and ideal for newcomers.
- Intermediate – Idiomatic Rust with improved structure and some abstraction.
- Pro – Optimized, expressive, and built with deeper knowledge of Rust’s capabilities.
Whether you're just starting out or brushing up on advanced concepts, this repo is your practical Rust companion.
Rust-in-Practice/
├── Beginner/ # Beginner-level Rust implementations
├── Intermediate/ # Intermediate-level improvements and idiomatic patterns
└── Pro/ # Advanced, performant, and elegant Rust code
Each folder contains the same set of projects written in different Rust levels for learning comparison.
Make sure you have Rust installed. You can get it via rustup.rs.
# Example: Run beginner version of Hangman
cd Beginner
rustc Hangman.rs
./Hangman
You can do the same in Intermediate/
or Pro/
to compare implementations.
Learning a language is hard. Reading only documentation makes it harder. This repo helps you:
- See practical usage of Rust syntax and features
- Compare solutions for the same problem at different levels
- Learn how to write clean, efficient, and idiomatic Rust
Contributions are welcome! If you have:
- Feedback or improvements
- New ideas for practical beginner-friendly projects
- More advanced Rust idioms to add
Please feel free to open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Found it useful? Star the repo! 🌟 Have questions or suggestions? Open an issue or reach out!
Happy coding! 🦀