Ask HN: Are there any easy Rust tutorials out there?
I've not been able to grasp Rust, and I've looked through the Rust book, and Learn X in Y minutes, and still having difficulty confidentially learning Rust. Are there any easy tutorials out there for Rust that you've used in the past?
11 comments
[ 3.2 ms ] story [ 33.6 ms ] threadBooks/tutorials/etc. never really worked for me because they were all "happy path" exercises (read: too boring). Things only started clicking when I had to overcome obstacles while porting projects written in different languages over to Rust.
The best thing to do is write enough code in projects you understand until the fundamentals click. Stay away from async until you get those, then why async is the way it is will make sense.
It can still be a good advise tho. I was building a webrtc server in nodejs but decided to change it for Rust to learn. It was quite difficult! But now I'm starting to understand things that I don't understand in Rust and that spiked my curiosity much more than when I tried to study it starting by the theory.
https://rust-book.cs.brown.edu
After writing out the book’s examples, you will probably struggle with borrowing but after a few weeks of building things it will click. You will then face an overwhelming urge to write and rewrite everything in Rust.
What are you having a hard time with? What are you familiar with, and what concepts are you getting stuck on?
Maybe stay away from map/filter/closures etc in favor of loops at first. They can have tricky syntax.