This repository contains materials for a 2-3 day Rust training course.
The training is designed not to replace The Rust Programming Language book (commonly called "the Rust book"), but rather to provide you with solid foundational knowledge. After completing this training, you'll find the Rust book easier to understand because you'll already be familiar with the core concepts.
This training is intended for developers who already have proficiency in at least one other programming language.
Learning Rust effectively requires time and practice. While this training will accelerate your learning process, please note that it alone won't make you proficient in Rust.
We recommend the following learning path:
- Complete this training course
- Utilize official rust-lang resources:
- Read the entire Rust book
- Simultaneously, practice with Rustlings exercises
- Apply your knowledge by working on a small Rust project of your choice
There is no OS requirement for this training so all examples should run on any OS/distribution combo.
- Install Rust by downloading the
rustuppackage of your Linux distribution or by following instructions at: https://www.rust-lang.org/learn/get-started - Install VSCode or VSCodium
- Install RustAnalyzer plugin (official rust-lang plugin): https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer
- Clone this repository with
git clone(so that you'll be able to refresh it easily to get all content at workshop time) - Open it in VSCode
- Optional:
right-clickon theREADME.mdfile in the left panel and click on Open Preview
- Optional:
- Navigate to test
- You are supposed to see a Rust
mainfunction with a little play button on top - Click that play button
- You should see a bottom panel opening with the message to print
- You are supposed to see a Rust
- If the above step completed successfully, everything is ready
Here are some memos you can use in order to help you to quickly remember what we have seen in this training