Worth noting that this set of exercises was created by the author of "Zero to Production in Rust", the well-reviewed book with the crab-in-a-human-skull cover[1]. [1]: https://www.zero2prod.com
> crab-in-a-human-skull cover Anyone know the story behind this?
Exercises to Learn Rust
21–30 of 129 posts
Re: Exercises to Learn Rust
#22This looks like a great resource! https://rust-exercises.com/03_ticket_v1/07_setters This shows why I wouldn't use Rust for anything. Seems like a lot of verbosity for gains that don't really apply whatsoever for the kind of work I do (web apps and APIs). You have to remember let/mut fine, but then ownership/borrowing, and finally this `into()` thing - yuck! Like washing your face with sandpaper.
Re: Exercises to Learn Rust
#23This is quite interesting! While we're on the topic, does anyone know of a similar set of exercises for learning Golang?
Go by example is an established favorite. https://gobyexample.com/
Re: Exercises to Learn Rust
#24Worth noting that this set of exercises was created by the author of "Zero to Production in Rust", the well-reviewed book with the crab-in-a-human-skull cover[1]. [1]: https://www.zero2prod.com
> crab-in-a-human-skull cover Anyone know the story behind this?
Re: Exercises to Learn Rust
#25This is quite interesting! While we're on the topic, does anyone know of a similar set of exercises for learning Golang?
Re: Exercises to Learn Rust
#26This looks like a great resource! https://rust-exercises.com/03_ticket_v1/07_setters This shows why I wouldn't use Rust for anything. Seems like a lot of verbosity for gains that don't really apply whatsoever for the kind of work I do (web apps and APIs). You have to remember let/mut fine, but then ownership/borrowing, and finally this `into()` thing - yuck! Like washing your face with sandpaper.
There’s a world outside of web development.
Re: Exercises to Learn Rust
#27This looks like a great resource! https://rust-exercises.com/03_ticket_v1/07_setters This shows why I wouldn't use Rust for anything. Seems like a lot of verbosity for gains that don't really apply whatsoever for the kind of work I do (web apps and APIs). You have to remember let/mut fine, but then ownership/borrowing, and finally this `into()` thing - yuck! Like washing your face with sandpaper.
There’s a world outside of web development.
(I have historically been very skeptical of Rust on the web, but by now, I find it pretty pleasant. I of course know Rust very well already though.)
Re: Exercises to Learn Rust
#28> To verify your solutions, we've provided a tool that will guide you through the course. It is the wr CLI (short for "workshop runner"). Install it with: > cargo install --locked workshop-runner I have no idea what this program / package manager is so I was going to throw my hands up and say great another mac-only tutorial, but apparently this is a package manager for rust, and also apparently it comes pre-installed…
It's not hiding, they link to it.
>> You can find the exercises in the companion GitHub repository.
https://github.com/mainmatter/100-exercises-to-learn-rust
And then they tell you to complete the exercises for each section before continuing and tell you exactly where the first exercise is:
> The exercise for this section is located in exercises/01_intro/00_welcome
Read the section titled "Structure" for all of this information.
Re: Exercises to Learn Rust
#29Re: Exercises to Learn Rust
#30> To verify your solutions, we've provided a tool that will guide you through the course. It is the wr CLI (short for "workshop runner"). Install it with: > cargo install --locked workshop-runner I have no idea what this program / package manager is so I was going to throw my hands up and say great another mac-only tutorial, but apparently this is a package manager for rust, and also apparently it comes pre-installed…