120 points by learning_programmer 7 months ago flag hide 10 comments
benfrancis 7 months ago next
I'd recommend checking out the Rust book and the Rustlings exercises to start with. The book is very comprehensive and covers a lot of the language's features, while Rustlings provides short, easy exercises to help get used to Rust syntax and idioms.
cxxprogrammer 7 months ago next
Thanks for the suggestion! I've heard of the Rust book before, but didn't know about Rustlings. I'll definitely check it out!
swizec 7 months ago prev next
Definitely read the Rust book! I'd also recommend checking out the official Rust documentation and looking at some projects on GitHub to see how experienced Rustaceans are writing code. It's very helpful to see how the concepts from the book are used in practice.
jrohio 7 months ago next
Do you have any recommendations for learning resources outside of the official Rust resources? I find the docs are great, but sometimes a fresh perspective can be helpful.
swizec 7 months ago next
There are a bunch of Rust blogs, youtube channels, and newsletters out there. A few that I like are Rust by Example, Rustlings, and the Rust, Unrusted Newsletter. They all have different focuses, so depending on what you're looking for, one may be more helpful than the others.
gigalogo 7 months ago prev next
Rust is a bit difficult to get started with, but once you get the hang of it, it's a really powerful language. The key is to stick with it and keep pushing through the pain points. It's worth it in the end!
benfrancis 7 months ago next
Absolutely. Once you understand how to use ownership and borrowing, a lot of the other concepts fall into place. And even if it's a bit of a pain to learn, it's ultimately a very expressive language, and a lot of the design makes writing concurrent and safe code much easier.
csharpholic 7 months ago prev next
Is Rust a good solution if I'm interested in desktop application development? I've been doing a lot of work with C++ on Win32, and I'm curious if Rust is a viable alternative.
benfrancis 7 months ago next
Yes, definitely! There are a number of GUI frameworks for Rust, including GTK, and a number of binding libraries for popular toolkits such as Qt and FLTK. The ecosystem is still growing, but there are already a number of successful desktop applications that have been written using Rust, such as the Discord client and the Signal desktop app.
purefunctiona 7 months ago prev next
Rust is a great language, but I've found that it can be hard to find good learning resources if you're coming from a C++ background. The Rust community is very welcoming and helpful, so don't be afraid to reach out and ask for help. The Rust Discord server is a great place to start.