Ad space (banner)
🦀Rust Lessons
- 01Setting up (what you'll need)
- 02Your first output (println!)
- 03Variables and mutability (let / mut)
- 04Type annotations and basic types
- 05Branching (the if statement)
- 06Repeating (the for loop)
- 07Writing your own function
- 08Repeating (while and loop)
- 09Ownership, the basics
- 10Borrowing (references, &)
- 11Working with vectors (Vec)
- 12Structs
- 13enum and the match expression
- 14The Option type (null safety)
- 15The Result type and error handling
- 16Traits
- 17Generics
- 18Closures
- 19Working with strings (String)
- 20[Project] Build a small inventory system
Lesson 1 / 20
Setting up (what you'll need)
To run Rust you will need the following. Rust has grown steadily more popular as a language that delivers safety and speed at the same time, and it is now used inside web browsers, in command-line tools, and in embedded development.
- The Rust toolchain: install it with the
rustupcommand from the official site. - For an editor, the standard choice is VS Code with the
rust-analyzerextension. - Project management and builds are handled by Cargo, which ships with Rust.
← Previous lesson
Next lesson →
Ad space (banner)
Ad space (in-article)
