It is setup and step-by-step introduction into development on Rust.
⬇️ Tags legend at the end of the page.
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 is the most beloved programming language 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:
( general ) ( official ) ( course ) ( reading )
- The Rust Programming Language
- Язык программирования Rust ( non-eng )
- Rust cookbook
- Rust. Сборник рецептов ( non-eng )
We’d also recommend you such courses as:
( general ) ( course ) ( 🎥 )
⚡ Other interesting sources you can find in our Awesome Collection of Materials.
To get started with Rust you obviously have to set up your environment.
There is a short guide to do this:
Windows:
- First of all, you need to install rustup, which is a Rust installer and version management tool.
- You may also need to install the Visual Studio C++ Build tools if you don’t have one, cause it’s mandatory for running the Rust program on Windows.
- After the rustup installation is complete you’ll also get the latest stable version of the Rust build tool and package manager -
Cargo
, which will help you to build, run and test your projects. - To ensure that Rust and Cargo are installed correctly - run
cargo --version
in your terminal of choice.
Linux/Mac:
- To install rustup on Linux or macOS, open a terminal and enter the following command.
curl https://sh.rustup.rs -sSf | sh
- Once the Rust installation is complete, the Cargo’s bin directory (
~/.cargo/bin
– where all tools are installed) will be added in your PATH environment variable, in~/.profile
.
⚡ To get a more detailed description or other methods of setting up Rust environment - go to our list of setup materials.
If you are Ukrainian, the best way to get help is to join our Learn Rust Together community, where you’ll be definitely 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.
This is how it takes place in our community, but we’re convinced that it’ll be useful in any other.
- ( general ) - general-purpose material
- ( official ) - official Rust materia
- ( non-eng ) - non-english language
- ( course ) - consists of series of text/video articles trying to give to a reader solid foundation
- ( book ) - a bookl
- ( video ) - material to watch