r/learnrust • u/byterider • 4d ago
Rooomy tutorial
I wrote this for people who've programmed before but never touched Rust.
Each chapter is a folder you can build on its own and adds one thing: walking a folder, error handling with Result and ?, an arena tree that the borrow checker likes, rayon, atomics for live progress, a squarified treemap, safe delete, duplicate detection, then installers, signing, auto-update and package managers.
At the end you have Roomy, an app people actually use. Feedback on where it gets confusing would help a lot.
https://github.com/pravin/roomy#the-chapters
Please feedback 🙏
2
u/Discordbothost 4d ago
I'd put a tiny two-folder example at the start of the arena chapter. Show the parent and child as indices into the Vec, then walk through adding a child. That would make it clear what the indices buy you before the parallel scanner builds on it.
1
u/BlossomingBeelz 4d ago
Love the concept and chosen app! Looking forward to trying this soon.