🦀 Rust
Learn Rust from the Basics
Rust — the language that delivers memory safety and C++-class speed at the same time — taught from the ground up across 20 lessons. Since Rust is compiled rather than run in a browser, each lesson checks whether what you typed matches the reference code, giving you instant feedback without ever leaving the page.
What is Rust used for?
Rust first appeared in 2010 out of Mozilla, and has topped Stack Overflow's most-admired language survey for years running. Its defining feature is ownership: the compiler tracks who owns each value, so memory bugs are caught before the program ever runs, with no garbage collector and no runtime cost. It is now used in browser engines, in the Linux kernel, and across cloud infrastructure.
Common uses & related roles:
- Command-line tool development
- Systems and infrastructure programming
- WebAssembly and embedded development
- Systems engineer
🦀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
Ad space (in-article)
