← All courses

Rust Programming

Learn Rust from the ground up. Understand ownership, borrowing, lifetimes, pattern matching, error handling, and fearless concurrency.

Lessons

  1. Introduction to Rust — Discover why Rust exists, set up your toolchain with Cargo, and write your first Rust program.
  2. Variables & Mutability — Learn about let bindings, mutability, shadowing, and constants in Rust.
  3. Ownership & Borrowing — Understand Rust's ownership rules, references, borrowing, and slices.
  4. Structs & Enums — Define custom types with structs and enums, implement methods, and use Option.
  5. Pattern Matching — Master match expressions, if let, while let, and destructuring in Rust.
  6. Error Handling — Learn idiomatic error handling in Rust with Result, Option, the ? operator, and custom errors.
  7. Collections — Work with Rust's essential collections: Vec, HashMap, String, and iterators.
  8. Concurrency — Explore Rust's fearless concurrency with threads, channels, Arc, and Mutex.