Hacker News new | past | comments | ask | show | jobs | submit login

In this order:

1. The Rust Book (Free) - https://doc.rust-lang.org/book/

2. Rust by Example (Free) - https://doc.rust-lang.org/rust-by-example/

3. Rust Atomics and Locks - https://marabos.nl/atomics/

4. Rust in Action - https://www.rustinaction.com/

5. Rust for Rustaceans - https://rust-for-rustaceans.com/

Also Jon Gjengset's channel is immensely valuable: https://www.youtube.com/c/JonGjengset






What do you think about Rust for Rustaceans? I read it and there are very niche and useful information there about Rust that I didn't see anywhere. It's a solid book but for a book about programming there are so few real code examples that it can come off dry. I just bought Rust atomic and locks and it seems exercise based, so I'm excited to finish it. The first chapter seems promising

As title implies, Rust for Rustaceans is not for those that are just starting with the language.

You are right about it not being a beginner friendly book. Hence why I placed it lower in the order of books to study.

Yeah Rust atomics and locks is essential if you truly want to understand low-level concurrency. But you might have to also refer to the C++ std::atomics reference [1] to get a complete idea. It took me a while to grasp those concepts.

[1]: https://en.cppreference.com/w/cpp/atomic/atomic


I have a hard copy of Programming Rust by Jim Blandy et al would that slot in nicely anywhere here?

"Programming Rust" by Jim Blandy et al was the book that really helped me to understand why many of the design decisions behind the implementation of Rust were made.

I found it more approachable than some of the other Rust books and highly recommend it as a first Rust book.


Programming Rust is the best beginner Rust programming book in my opinion, followed by the official book. It has more detail and better examples.

Unfortunately, I haven't read Programming Rust. The list includes just the books I used to learn Rust. But will definitely give Blandy's book a read. Thanks for the recommendation!



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: