5 ms·
If you are more of an interactive learner I would recommend installing rust on your machine and then cloning the rustlings repo https://github.com/rust-lang/rus
by cpascal 7y ago
If you are more of an interactive learner I would recommend installing rust on your machine and then cloning the rustlings repo https://github.com/rust-lang/rustlings https://github.com/rust-lang/rustlings.
Rustlings is an interactive collection of rust exercises that are either incorrect or incomplete. The exercises are grouped into key concepts of rust and cross referenced with relevant chapters in the rust book https://doc.rust-lang.org/book/ https://doc.rust-lang.org/book/
The general flow is to open up the given chapter of the rust book for a set of exercises and hack away at them until they compile. It's a good way to quickly get an introduction to rust and its core features.
- tasubotadas 7y agoHaving gone through rustlings while learning rust, I can say that apart syntax overview, they are almost useless. I was much more successful by studying the rust book while trying to solve/implement not completely trivial pet projects.
- QueijoFresco 7y agoDo you mind sharing what kind of projects? Just in case you have a list laying around.
- tasubotadas 7y agoThat would be something like: * ToDo list with UI * Stock Quote retrieval/analysis * Toy VM/Interpreter
- hechang1997 7y ago"Too many linkedlists" is an excellent tutorial for understanding ownership IMO.