Rust
Master memory safety without a garbage collector — ownership, borrowing, traits, async, and the modern Rust ecosystem.
2,385 lessons·All lessons free
- 1What Rust is and why it exists
- 2Where Rust shines: systems, CLIs, WebAssembly
- 3Installing Rust with rustup
- 4cargo: build tool, package manager, test runner
- 5Your first program with cargo new
- 6rustc vs. cargo
- 7The Rust edition system
- 8rustfmt and clippy: your two best friends
- 9Variables and mutability
- 10Shadowing vs. mutation
- 11Scalar types: integers, floats, booleans, char
- 12Compound types: tuples and arrays
- 13Functions and expressions
- 14Statements vs. expressions
- 15Comments and doc comments
- 16if as an expression
- 17loop, while, and for
- 18match: pattern matching
- 19if let and while let
- 20Ranges and iteration