News for hackers. Stuff that matters.
Re:100 Exercises to Learn Rust by sformisano on Friday May 17, 2024 @04:57AM (#40387813)
I skimmed through a few sections in which my rust knowledge is basic at best (threads). Really enjoy the no-nonsense, not-a-word-wasted style.

My first thought after spending 30 minutes with this that it could easily become my new no. 1 recommendation for rust onboarding, toppling the zero2prod book.

Then I figured out why this felt familiar, it's from the same author :D

Will definitely dive into it this weekend.

Re:100 Exercises to Learn Rust by sk11001 on Friday May 17, 2024 @05:22AM (#40387981)
Zero2prod doesn't really teach Rust, it's more about setting up an API for people who already know Rust.
Re:100 Exercises to Learn Rust by ramon156 on Friday May 17, 2024 @05:41AM (#40388091)
And it also isn't 100% best-practise, more like all-practise. It tries to show any and every way you could approach a problem while somehow keeping it minimal. Really like it but if you follow the tutorial 1:1 you'll most likely get frustrated
Re:100 Exercises to Learn Rust by sk11001 on Friday May 17, 2024 @06:38AM (#40388399)
> Really like it but if you follow the tutorial 1:1 you'll most likely get frustrated

I went through it and hated it. It's very tedious and I felt like I learned nothing from following along.

Re:100 Exercises to Learn Rust by sformisano on Friday May 17, 2024 @06:36AM (#40388383)
I read the book while knowing almost nothing about the language, but yes I did complement it with "the rust programming language" book at the same time.

I still think zero2prod is extremely beginner friendly, you don't need to know rust well to follow it. You can just dive into rust concepts as you read it.

Re:100 Exercises to Learn Rust by not_a_dane on Friday May 17, 2024 @06:22AM (#40388299)
well, you don't need to know Rust to complete Zero2prod but you need to have a backend background for sure.