It is a setup and meta step-by-step instruction to start development in Rust.
Rust is a multi-paradigm programming language designed for performance and safety. It is an effective tool for the collaboration of large developer teams with different levels of knowledge. Furthermore, according to the Stack Overflow Developer Survey, Rust has been the most beloved programming language for seven years in a row. The Rust community is traditionally very friendly.
There are some of the most popular general-purpose official resources for learning Rust:
It might be more convenient for you to start from a video course instead of a book. For example, you might like Intro to Rust.
⚡ Other interesting sources you can find in our Awesome Collection of Materials.
If you are Ukrainian, the best way to get help is to join our Learn Rust Together community, where you'll definitely be heard and helped by more experienced members.
⚡ There is also our Communicate page, where you can find a lot of different Rust global or local chats and news streams.
The best way to ask questions is to share your code in the playground. In this case, other members don't have to spend extra time recreating the problem.
1) Practice drills, interactive feedback
- Rustlings is a project with small exercises to get you used to reading and writing Rust code. In general, you have to solve compiler messages about mistakes by modifying the given code. It'd really help you to get an understanding of how the compiler works and what are the most common code issues. If you struggle to start, just follow these steps.
- Rust by practice similar to rustlings drill exercises
- Exercism - an open-source, free-coding platform that offers you not only code practice but mentorship. Here you can find 103 coding exercises that will improve your understanding of Rust concepts. Recommended taking after Rustling.
- Take your first steps with Rust - Interactive course. Lay the foundation of knowledge you need to build fast and effective programs in Rust.
2) Reading books
If you are a beginner in your Rust learning journey, we'd highly recommend you to start with general-purpose books.
Then you can also go to the official Rust Book, where you can find all the necessary information about Rust, or buy the Programming Rust, which both are ones of the most common books. Also if you target web back-end you should read Zero To Production, also available as as a series of articles.
⚡ Other interesting books you can find in our Awesome Collection of Materials.
3) Watching videos
If you are a newcomer and just want to get to know what Rust is - watch Rust in 100 seconds. To dive into the basics of Rust - take a Crash Course
To learn the syntax of Rust deeply and get familiar with Rust code, we'd also recommend you such courses as:
⚡ More video courses you cand find on our awesome collection to master Rust
4) Using Cheatsheets
One more way to master Rust, but thought the schemes, tables, and images - the Rust Cheat Sheet. All tips gathered in one big page will always be useful while writing code. Go to our collection of cheatsheets.