Skip to content

8ria/Rust-in-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦀 Rust-in-Practice

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.


📁 Repository Structure

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.


🚀 How to Run

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.


🎯 Why This Exists

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

🤝 Contributing

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.


📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


💬 Feedback & Community

Found it useful? Star the repo! 🌟 Have questions or suggestions? Open an issue or reach out!

Happy coding! 🦀

About

Learn Rust by doing — from beginner to pro with real mini-projects.

Resources

License

Stars

Watchers

Forks

Languages