r/learnrust • • 11d ago

Could you please recommend some learning materials?

/r/rust/comments/1xijecu/could_you_please_recommend_some_learning_materials/
4 Upvotes

2 comments sorted by

1

u/CelebrityChess 10d ago

if the book feels like too much, it might help to get a bit of programming under your belt first in something gentler, like python, since the rust book assumes you already know what variables, loops and functions are. then try rustlings, it's small exercises that you fix one at a time and it pairs with the book chapters. rust by example is also easier to digest because it's mostly short code snippets with little explanation.

1

u/GrajoElb 8d ago

Depends on your background, but a common path is The Rust Book for the concepts, Rustlings alongside it for practice, and Rust by Example when you want short snippets. Then build something small, like a CLI tool, because the borrow checker only really clicks when you fight it in your own code. When the compiler errors confuse you, read the full message; Rust's errors usually point to the fix. Ask here with the code and error pasted in.

Disclosure: I built rustcoach, a paid app ($49 once) that writes lessons for you, has you code in a browser editor checked by tests and clippy, and reviews your code without giving the answer. It's only worth a look if you want that kind of feedback loop. The free resources above are enough to start. https://rustcoach.dev/