HACKER Q&A
📣 joshxyz

Recommended Rust Resources?


Couple days ago I started learning rust and I am amazed how helpful the compiler is, and how well-documented the packages are.

Do you guys know any resources that you find crucial to learn for starters? I've found the following helpful but im curious for more..

- https://doc.rust-lang.org/book/

- https://cheats.rs/

- https://fasterthanli.me/


  👤 jmillikin Accepted Answer ✓
I'll add a (lone?) voice for diving in to the deep end straight away:

https://doc.rust-lang.org/reference/

https://doc.rust-lang.org/nomicon/

Documentation aimed at beginners often assumes a lack of prior programming experience, which is useful if you are (for example) a high-school student learning about pointers and abstraction but IMO not a good use of time for most people posting on Hacker News.

The Rust reference manual is well-written and comprehensive for basic Rust, and the Rustonomicon has often answered my questions about more advanced topics (FFI, concurrency).


👤 perrygeo
In addition to the other resources listed here, check out OReilly's "Programming Rust" 2nd edition, arguably a better introduction and reference than the official book.

If you're into backend web development, take a look at "Zero to Production" in Rust for an applied, hands-on approach to building a server.



👤 belter
https://doc.rust-lang.com/ you probably mean: https://doc.rust-lang.org/book/

Why did you post https://cheat.rs/ ? Links to a spam page.


👤 recvonline
If you want to use Rust for web development (server applications, APIs...), have a look at the upcoming book "Rust Web Development" (print around mid November):

https://www.manning.com/books/rust-web-development


👤 rasulkireev
Besides the official Rust Lang Book I would also recommend checking out the awesome-rust repo:

https://github.com/rust-unofficial/awesome-rust


👤 olavgg
For anyone with some programming experience that want to learn rust https://rust-unofficial.github.io/too-many-lists/

👤 hardwaresofton
Rust by example belongs on that list:

https://doc.rust-lang.org/rust-by-example


👤 notemaker
I just started reading Rust in Action and so far I'm finding it much better then the official book.

👤 asicsp

👤 mithusingh32
https://github.com/rust-lang/rustlings

I really like rustlings.