Skip to content

Seven days per course · Your own pace

Learn Rust.Build reliable command-line programs.

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.

Public courses
3
Lessons
90
Days per course
7
Browser practice
Included
Try it here — press Run Rust
fn main() { let sessions = [25, 10, 15]; let mut total = 0; for minutes in sessions { total += minutes; } println!("Planned: {total} minutes"); }

Change 25 to 30, predict the new total, and press Run.

Find your starting point

Three levels. One clear path.

Start from zero. No prior programming experience or account required. Every available course is public, with no sign-in required.

01 / BeginnerPublic

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
You will buildTested study planner

30 lessons · 7 days

Explore beginner
02 / IntermediatePublic

Intermediate Rust

After Rust beginner

Build APIs that protect their state and parse borrowed text into typed commands.

  • Lifetimes, generics and traits
  • Ordered maps and iterator reports
  • Typed errors and replayable I/O tests
You will buildTested reading queue

30 lessons · 7 days

Explore intermediate
03 / AdvancedPublic

Advanced Rust

After Rust intermediate

Design a reusable library with bounded inputs, atomic updates and precise retry behavior.

  • Checked states, Cow and trait objects
  • Fallible iterators and bounded streams
  • Atomic batches, replay detection and model tests
You will buildTransactional stock ledger

30 lessons · 7 days

Explore advanced

More than a page to read

A little explanation. Plenty to try.

You learn a rule by using it. Each day gives you chances to predict, experiment and solve a problem with less help.

Learn by changing code

Read a short explanation, predict the output and run the example. Change an input to find out whether you understood the rule.

Get help in small steps

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.

Build beyond the example

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

Seven steps to a working project.

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.

  1. Day 1 · 4 lessons

    Your First Rust Programs

    Run a program, name values and calculate with whole numbers.

  2. Day 2 · 4 lessons

    Decisions, Loops and Functions

    Write a function that applies a rule to a series of values.

  3. Day 3 · 4 lessons

    Ownership and Borrowing

    Predict when text moves, when it is borrowed and when it can change.

  4. Day 4 · 4 lessons

    Collections and Custom Types

    Model study sessions with structs and enums, then summarize them from a vector.

  5. Day 5 · 4 lessons

    Missing Values and Invalid Input

    Use Option and Result to handle missing data and validate console input.

  6. Day 6 · 4 lessons

    Modules and Behavior Checks

    Split a program into files and prove that invalid input leaves its state intact.

  7. Day 7 · 6 lessons

    Build the Study Planner

    Run, test and extend a multi-file planner, then build a reading tracker on your own.

See every beginner lesson

Something to show for your work

A project you can explain.

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 day

Your 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.

About the browser editor

The experimental code-playpad Rust compiler runs in your browser. The first Run downloads about 57 MB, then caches the toolchain.

Before you begin

A few useful answers.

Start with the right expectations, then spend your time making things work.

Do I need to install Rust?

All core practice runs in the browser. Day 7 includes an optional Cargo download for running the project locally.

How do I type input?

Fill in the stdin box before pressing Run. The program reads that text and reaches the end of input.

What can the browser compiler run?

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

You can run your first example today.

No setup checklist. Open Day 1, change a line and see what happens. The rest can follow one lesson at a time.