Beginner Rust
Your first programming course
Write functions, borrow text, model sessions and validate input with Result.
- Values, loops and functions
- Ownership, borrowing and collections
- Enums, validation and modules
Seven days per course · Your own pace
Start with a message and build toward a study planner that validates input. Along the way, learn how Rust tracks who owns data and when it can be changed. In intermediate, use traits, lifetimes and typed errors to build a reading queue. Advanced adds a stock ledger with atomic batches, retry receipts and tests of its failure guarantees.
Change 25 to 30, predict the new total, and press Run.
Find your starting point
Start from zero. No prior programming experience or account required. Every available course is public, with no sign-in required.
Your first programming course
Write functions, borrow text, model sessions and validate input with Result.
After Rust beginner
Build APIs that protect their state and parse borrowed text into typed commands.
After Rust intermediate
Design a reusable library with bounded inputs, atomic updates and precise retry behavior.
More than a page to read
You learn a rule by using it. Each day gives you chances to predict, experiment and solve a problem with less help.
Read a short explanation, predict the output and run the example. Change an input to find out whether you understood the rule.
Try each exercise first. Open an idea hint, then a first-step hint if you need it. Compare your approach with the worked solution afterward.
Use checkpoints to work independently. Finish a project, tackle a different brief and return a few days later to practice from memory.
Beginner, day by day
Plan around 90 minutes of active study on Days 1–6; the final project has its own estimate. Split a day into smaller sessions when needed; the order matters more than the calendar. Delayed review is extra.
Run a program, name values and calculate with whole numbers.
Write a function that applies a rule to a series of values.
Predict when text moves, when it is borrowed and when it can change.
Model study sessions with structs and enums, then summarize them from a vector.
Use Option and Result to handle missing data and validate console input.
Split a program into files and prove that invalid input leaves its state intact.
Run, test and extend a multi-file planner, then build a reading tracker on your own.
Something to show for your work
Build a console study planner that reads session requests, reports bad input and totals the minutes it accepts.
Edit the input before Run, switch between source tabs and run the project checks. Download the same source for optional local Cargo practice.
Explore the final dayYour first experiment
Planned: 50 minutes The small example at the top already uses the same idea: store a few sessions and derive a useful total. The course teaches each piece before asking you to build the complete project.
The experimental code-playpad Rust compiler runs in your browser. The first Run downloads about 57 MB, then caches the toolchain.
Before you begin
Start with the right expectations, then spend your time making things work.
All core practice runs in the browser. Day 7 includes an optional Cargo download for running the project locally.
Fill in the stdin box before pressing Run. The program reads that text and reaches the end of input.
The experimental compiler supports Rust 2024 programs with the standard library and multiple source tabs. This course uses console input and output.See the compiler demo and limits →
Start with one small program
No setup checklist. Open Day 1, change a line and see what happens. The rest can follow one lesson at a time.