Hello, Rust!
Meet Ferris and write your very first program.
Rust is a real programming language that professional engineers use to build games, websites, operating systems, and even parts of your phone. This course breaks it down into clear, bite-sized lessons β with Ferris, Rust's mascot, guiding you the whole way.
βΆ Start Learning βͺ Continue where I left off20 worlds, from your first program to a real web server. Work through them in order, or jump to whatever you need.
Meet Ferris and write your very first program.
Build a real game where the computer picks a secret number.
Variables, types, functions, and choices β the bricks of every program.
Rust's most famous idea β who owns each piece of memory.
Make your own custom data with structs and teach them tricks.
Enums and match β pick one option and handle every case.
Organize big projects into packages, crates, and modules.
Hold many things at once with vectors, strings, and hash maps.
What to do when something goes wrong, the Rust way.
Write code once that works with many types: generics, traits, lifetimes.
Write tests so your programs stay correct.
Build a real command-line search tool from scratch.
Closures and iterators β powerful, elegant ways to work with data.
Cargo superpowers and publishing your code to the world.
Special boxes that do extra clever things with memory.
Threads and safe sharing β Rust calls this fearless concurrency.
Do other work while you wait, instead of standing still.
Many shapes, one box β trait objects and OOP ideas in Rust.
The full power of pattern matching, used all over Rust.
Peek behind the curtain, then build a real web server!