Learning Rust has been an exciting adventure! I’ve been following the official Rust Book (2nd edition, 2023) and tackling its exercises and challenges to really get hands-on experience with the language. Rust’s unique ownership and borrowing system, combined with its strict compiler, makes it both challenging and rewarding.
During this journey, I’ve written several small programs and solved challenges from the book to practice concepts like:
- Ownership, borrowing, and lifetimes
- Working with vectors, strings, and collections
- Writing functions and handling errors safely
One of my favorite exercises so far was building a Median and Mode Finder, where I learned to:
- Parse user input into a vector of integers
- Calculate the median of a list
- Determine all modes, even when there are multiple numbers with the same frequency
If you want to see the code I’ve written while learning Rust, check out my GitHub repository: Rust Learning Journey on GitHub
Every small program I complete reinforces Rust’s principles and helps me gain confidence in using the language for real-world problems. The book’s challenges provide just enough structure to guide me, while still encouraging experimentation and creative problem-solving.
I’m excited to continue exploring Rust, build more projects, and deepen my understanding of this powerful programming language. Stay tuned for more updates as I progress through the book!
Top comments (0)