Rust Fundamentals
Master memory-safe systems programming without garbage collection: ownership, borrowing, slices, structs, enums, pattern matching, Option/Result, traits, generics, and concurrency.
What you'll build & master
- ✓ Understand Rust ownership, move semantics, and borrow checker rules with confidence
- ✓ Eliminate null and unhandled exceptions using Option, Result, and the ? operator
- ✓ Write reusable zero-cost abstractions with traits, generics, and iterators
- ✓ Build fast, fearless concurrent CLI tools using Cargo, crates, and threads
Course Syllabus
Core Rust
Ownership & Borrowing
- 110 min
Ownership, Move Semantics & Drop
Master Rust's signature feature: every value has one owner, moves prevent double-frees, and memory drops deterministically.
- 210 min
Borrowing, References & The Borrow Checker
Pass data without transferring ownership using shared (&T) and exclusive mutable (&mut T) references.
- 39 min
Slices (&str, &[T]) & String vs &str
Write flexible zero-copy APIs using string slices (&str) and array/vector slices (&[T]).
Types & Patterns
- 19 min
Structs, impl Blocks & Associated Functions
Model domain data with structs, attach methods with impl, and write constructors like Self::new().
- 210 min
Algebraic Enums & Exhaustive match
Encode rich domain states using enums with attached data and let exhaustive match catch missing cases at compile time.