I have been thinking about this recently. There are some great learning resources out there:
- The Book (which is amazing, thanks @steveklabnik and @carols10cents)
- Rust by Example
- The fabulous STD docs
However, I feel that that The Book and Rust by Example target an audience that is somewhat new to programming in general (less so for Rust by Example). I have been thinking how we can target experienced programmers. What about a “Rust in a Nutshell”? Something along the lines (very vague, and very roughly):
- A very quick intro to primitives.
- A moderately deep (while trying to remain concise) tour to the borrow system. The various differences of copy semantics and move semantics should be emphasized here.
- A thorough explanation of Lifetime analysis, why it’s needed, when it’s needed and common tricks to handle common lifetime analysis problems.
- A through guide in using the Type system.
I know that there is a lot of overlap with what I just wrote and The Book. But, I feel like that if we target an experienced programming group we can make more assumptions to write a more concise guide. Something with a goal like: This is what you need to know about rust. If you know this, then everything else can be found in the STD documentation (which is quite fantastic).
What do you think?
Edit: I call dibs on the title “Rust in a Crabshell”