RustDub
Learn Rust from zero in your own terminal, then build Chrome extensions with a Rust/WebAssembly core, ending in an extension that dubs video.
How it works
Run cargo course. It always shows one next step. Each skill
has five short steps, and every step leaves a check:
| Step | What gets checked |
|---|---|
| Recall | Review questions that are due. A miss comes back tomorrow. |
| Try | Your guess at how to fix a broken program, saved before you learn the answer. |
| Learn | One short page and one question. A miss shows a second example. |
| Practice | Tests, clippy, rustfmt and the exercise's rules, rerun on every save. From skill 1.7 your own tests must also catch at least 70% of planted bugs. |
| Prove | An exercise you haven't seen, with hidden tests, plus three questions. |
Nothing is locked: jump anywhere with course go 1.4. A
skill only counts as learned after Prove, and it turns back to fading if
a later review fails.
The path (21 weeks)
| Phase | Weeks | You can do at the end |
|---|---|---|
| 0 Setup | 2 days |
Toolchain, the course CLI, Rust syntax for JS
developers
|
| 1 Rust foundations | 1–4 | Ownership, strings, types, collections, errors, modules, tests |
| 2 Rust abstractions | 5–8 | Generics, traits, lifetimes, closures, iterators, smart pointers, macros. Project: a subtitle CLI |
| 3 Concurrent & async Rust | 9–12 | Threads, async, Tokio, HTTP, audio, FFI. Project: a native dubbing CLI |
| Rust core exam | 13 | All 22 Rust skills, unseen and mixed, with no help |
| 4 Rust in the browser | 13–15 | Compile to WASM, call browser APIs, process tab audio |
| 5 Rust Chrome extension | 16–17 | Ship an MV3 extension with a Rust core, tested end to end |
| 6 Capstone | 18–20 | Build the dubbing extension in stages |
| 7 Pro gate | 21 | Prove it without help |
Start
-
Install Rust. On macOS:
brew install rustup. Elsewhere: rustup.rs. - Get the course and check your setup:
git clone https://github.com/immigrateable/rust-course
cd rust-course
cargo course doctor
With Homebrew rustup, first put cargo on your PATH:
echo 'export PATH="/opt/homebrew/opt/rustup/bin:$HOME/.cargo/bin:$PATH"' >> ~/.zshrc
Then run cargo course. Your progress lives in
.course/progress.json on your machine.