Found in 4 comments on Hacker News
Scandiravian · 2021-12-29 · Original thread
I really liked Programming Rust (got the 2nd edition). It's been a few months since I read it, so be warned, that I might misremember some parts of it

https://www.oreilly.com/library/view/programming-rust-2nd/97...

The book gives good visual explanations for how each of the code examples and it spends a good amount of time showing the relationship between the code examples and the borrow checker, OS, etc.

As most language books it spends a lot of time going through all the types, which I've always found incredibly boring - the same thing is the case with this book.

I'd recommend reading about strings and slices before moving on to the examples, but spread out the rest of those chapters in between the more interesting ones

dnsmichi · 2021-09-12 · Original thread
Last year, we started with the official docs tutorial at https://doc.rust-lang.org/rust-by-example/hello.html

The recording and more findings is at https://everyonecancontribute.com/post/2020-10-07-cafe-3-git... The session took longer, because we failed to understand the principle of modules at first. We solved it after a while.

A more advanced attempt included Rocket.rs and Prometheus metrics instrumentation: https://everyonecancontribute.com/post/2021-06-30-cafe-36-ru...

For learning Rust (and later teaching), I got 2 books:

- Programming Rust: Fast, Safe Systems https://www.oreilly.com/library/view/programming-rust-2nd/97...

- Hands-on Rust: Effective Learning through 2D Game Development and Play https://pragprog.com/titles/hwrust/hands-on-rust/

I love gamification when learning things, and game development is something I always wanted to learn.

For a learning dev environment, I recommend Gitpod in your browser. Cargo and rustc come pre-installed in the default workspace image. A short example is in this blog post: https://about.gitlab.com/blog/2021/07/19/teams-gitpod-integr... (search for "Learn new programming languages: Rust")

More learning resources are at https://www.rust-lang.org/learn

da39a3ee · 2021-05-15 · Original thread
> Where do I find the explanation of why Rust is less awful than C++ written by someone who has written a lot of C++ out of necessity,

The O’Reilly book by Jim Blandy and Jason Orendorff. It is a really fantastic book on a programming language, the best I’ve ever read. The new edition is due this year it seems.

https://www.oreilly.com/library/view/programming-rust-2nd/97...

K0nserv · 2020-09-19 · Original thread
1. Read the Rust book[0] front to back. Yes seriously, the whole thing. Rust is different enough from other languages that it makes sense to do this.

2. Write 1 or more serious rust projects of your own choosing. Aim for projects that’ll be thousands of lines of code.

3. Read “Programming Rust”[1]

4. Write more projects

This is what I did anyway.

The Rust discord has a beginners channel which is invaluable for asking questions when you get stuck.

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

1: https://www.oreilly.com/library/view/programming-rust-2nd/97...