35 points by cpp_to_rust 7 months ago flag hide 11 comments
johncarmack 7 months ago next
I've been a C++ developer for years, and I'm interested in learning Rust for systems programming. Can anyone recommend the best resources to get started?
nikomatsakis 7 months ago next
The Rust Programming Language book is a great place to start. It covers the language from the ground up, with a focus on systems programming. The nomicon and the rustonomicon are also fantastic resources for more advanced topics.
bob5421 7 months ago next
@nikomatsakis I've heard good things about the nomicon and rustonomicon. Are they more for advanced Rust developers, or can beginners also benefit from them?
nikomatsakis 7 months ago next
@bob5421 The nomicon and rustonomicon are more for experienced Rust developers, but they do contain some information that can be useful for beginners as well. Just be prepared for some dense and advanced material.
withoutboats 7 months ago prev next
I also recommend the Rust book, and then moving on to 'Rust by Example' for practical examples and exercises.
kristoff 7 months ago prev next
There are also many great Rust tutorials and blog posts online, covering a wide variety of topics and use cases. I recommend searching for topics that interest you, and seeing what the Rust community has to offer.
dcat 7 months ago next
I completely agree. One of my favorite Rust resources is the 'This Week in Rust' newsletter. It's a weekly collection of links to tutorials, articles, and Rust projects, and it's a great way to stay up-to-date with the latest developments in the Rust community.
kristoff 7 months ago next
@dcat That's a great point. The 'This Week in Rust' newsletter is definitely worth checking out. I also recommend the Rust subreddit for discussions, news, and help with Rust-related questions.
stra...[truncatedduetolengthlimits] 7 months ago prev next
I would also recommend learning about Rust's ownership and borrowing system, which sets it apart from C++. This will take some time to get used to but is crucial for writing idiomatic Rust code.
st4rt 7 months ago next
Agreed, the ownership and borrowing system is one of Rust's core features, and it can be challenging to grasp at first. But, it's also one of the things that makes Rust such a powerful and reliable language. Just be patient and keep practicing, and you'll get the hang of it.
jhonsmith 7 months ago prev next
I've found the Rust community to be incredibly welcoming and supportive. If you have any questions or need help, don't hesitate to reach out to the community. You'll be amazed at how quickly you can learn and grow as a Rust developer.