Rust has kind of a steep learning curve but fortunately the Rust community has created some amazing resources for it. The approach I have taken is an iterative one using the following five resorces.
- The Rust Programming Language
- Rust by Example
- Introduction to Programming Using Rust
- rustlings
- Learning Rust by Working Through the Rustlings Exercises
I use The Rust Programming Language (link 1) chapters as a guide on what topics to focus on. I'll read a chapter and then find corresponding chapters/topics in other links. There is an almost one to one relationship across the links because almost all of them are created by the Rust community. Introduction to Programming Using Rust (link 3) is not created by the Rust community but is a great resource that is not cut and paste from previous Rust community documentation. Rustlings (link 4) is an is a set of broken code examples grouped by topic. Upon installing, Rustlings monitors the code and tries compile the examples to see if you fixed the code. Note: The rustlings process needs to run on a dedicated command line. Don't try to execute commands in that window, I had that hiccup when I was trying to figure out how it worked. Learning Rust by Working Through the Rustlings Exercises (link 5) walks through the Rustlings exercises. These videos are great for explaining the topics or helping with issues I wasn’t able to solve.
After going through all the links, I'll read the next chapter in link 1 and iterate through all the links again.
I'm currently using VSCode in the browser through Gitpod on an iPad with a magic keyboard. Gitpod is super cool and simple to use. I logged in using my github account, opened the rustlings repo and now I have a full development enviornment for running rustling, downloading crates, compiling code and exploring Rust.
Update: Github has made Codespaces free which can be used to replace Gitpod.
- Rust in Motion also on oreilly
- Hands on Rust
- Easy Rust - ebook & playlist <- lots of ads :(
- Rust Tutorials by Doug Milford
- Microsoft's Take your first steps with Rust
- Experiment: Improving the Rust Book via @sudhackar
- Comprehensive Rust
From https://twitter.com/wcrichton/status/1562823290967961602
https://rust-book.cs.brown.edu/