The AI writes the code.You still own it.
Learn Rust and stay fluent in the part assistants can't do for you: reading code closely enough to know when it's wrong. Animated memory diagrams, a real compiler, and ten minutes of practice a day.
Never written code? Programming 101 teaches the basics from zero, in Rust.
Free. 45 lessons, 61 graded exercises and 60 daily puzzles so far, all on Rust 2024 edition.
fn main() { let s1 = String::from("hi"); let s2 = s1; println!("{s2}");}Stack
main()
Heap
s1 owns a heap buffer holding "hi". It has R and O: it can be read, and it is the one that will free it.
Every lesson draws memory as your code runs. Five short programs play on a loop here; pick one, or step through it yourself.
One character apart.
One of these compiles and one doesn't. An assistant would happily write either. Make the call before you look.
Program 1
fn main() { let mut v = vec![1, 2, 3]; let first = &v[0]; v.push(4); println!("{first}");}Program 2
fn main() { let mut v = vec![1, 2, 3]; let first = v[0]; v.push(4); println!("{first}");}Skills fade when you stop using them.
In a 2026 randomized trial by Anthropic, developers who learned a new library with AI help scored lower on a comprehension test than those who learned it by hand. The widest gap was in debugging.
Read the studyTen minutes. Every day.
Short daily practice beats weekend marathons. Each day has the same four steps.
Warm-up 1 min
Three flashcards, scheduled by FSRS so each one comes back just before you would forget it.
Daily Rust 2 min
One puzzle, the same for everyone that day. Predict the output, call the compile error, find the bug. Three tries.
Sharpness rep 5 min
A real exercise against hidden tests. Monday you explain AI code, Tuesday you catch its bugs, Wednesday you write from scratch.
Goal met done
Hit your daily XP goal and the streak ticks. Rest days and freezes mean one busy day never wipes a month.
Daily Rust #42 2/3
🟥🟩
no-AI · 12-day streak
Your result, ready to paste into the team channel. No spoilers, just squares.
Practice on code an AI would write.
Spot-the-bug drills hide the mistakes assistants actually make: an unwrap() on user input, byte-slicing a UTF-8 string, a lock held too long. Each one compiles, and each one is wrong.
From your first variable to async.
Systems programming without fear. Every module ends with a boss: a small project graded by tests.
Programming 101
Never written code? Start here.
Never written code? Start here. Variables, types, decisions, loops, functions, lists and text, taught from zero in Rust.
- What is a program3
- Values and variables3
- Types and operators3
- Making decisions3
- Repetition3
- Functions3
- Testing and debugging3
- Lists3
- Working with text3
- Grouping data and solving problems3
Foundations
Ownership, borrowing, data modelling and error handling: the ideas that make Rust Rust.
- First contact: toolchain and the compiler as a mentor3 lessons
- Ownership: the permission model3 lessons
- Borrowing and slices3 lessons
- Modelling data: structs, enums, match3 lessons
- Errors done right3 lessons
Practitioner
Iterators, traits, lifetimes, smart pointers and real project tooling.
- Collections, iterators and closuressoon
- Traits and genericssoon
- Lifetimes demystifiedsoon
- Smart pointers and interior mutabilitysoon
- Project structure, testing and toolingsoon
Expert
Concurrency, async, type-driven design, macros and unsafe.
- Fearless concurrencysoon
- Async Rustsoon
- Type-driven design and idiomssoon
- Macros, unsafe and FFIsoon
Rewards for learning, not for showing up.
Levels that mean something
XP rewards effort, not clicks: first-try solves earn more, hints cost, and revealing a solution earns nothing.
Weekly leagues
Thirty learners, one week. The top seven climb. Points flatten out past twice your goal, so a binge can't buy a promotion.
Humane streaks
Pick up to two rest days a week. Freezes are earned, not bought. Miss a day and you have three days to repair it.
No-AI mode
Paste is blocked and solutions stay hidden. You earn 1.2× XP for doing it the hard way.
Questions, answered.
Is Rust Academy free?
Yes. Every lesson, exercise, daily challenge and exam is free. You only need an account so your streak, XP and progress are saved.
I have never programmed. Can I start here?
Yes. Programming 101 assumes nothing: what a program is, variables, types, decisions, loops, functions, lists and text, taught in Rust with a diagram of every variable. When you finish it, the Foundations track picks up with ownership.
I already code in another language. Where do I begin?
Skip 101 and start Foundations. It is written for working programmers: ownership, borrowing, data modelling and error handling, with real compiler errors and a boss project per module.
Do I need to install Rust?
No. Code runs in your browser against the official Rust Playground on the stable compiler, edition 2024. Install Rust later, when you build your own projects.
How is this different from reading the Rust Book?
The Book explains; this makes you practise. You predict output before you run it, fix code against hidden tests, review with spaced repetition, and come back for ten minutes a day.
Why practise without AI if assistants write most of the code?
Because someone still has to know when that code is wrong. The drills here are built from mistakes assistants really make, and No-AI mode pays a 1.2× XP bonus for doing the work yourself.
Start with Rust.
The platform is built to teach more than one language. Go is next.
- Rust
- Gosoon