Rust, from your first line to shipping
The compiler is on your side.
Rust has a reputation for being hard to learn and harder to stick with. PinBox teaches it the way it actually clicks: a short video, a prediction, then a real machine in your browser where you break things and fix them.
Free through Ownership and Borrowing, labs included.
src/main.rsTry it. Will it compile?
fn print_twice(s: String) {
println!("{s} {s}");
}
fn main() {
let name = String::from("ferris");
print_twice(name);
println!("bye, {name}");
}error[E0382]: borrow of moved value: `name`
value moved on line 7, used again on line 8
value moved on line 7, used again on line 8
Six errors stop most people. You will fix every one.
- E0382
- use after move
- E0499
- two mutable borrows
- E0502
- mutable while shared
- E0505
- move while borrowed
- E0597
- does not live long enough
- E0308
- mismatched types
Watch. Predict. Break it. Fix it.
- 01
Watch
Videos run 3 to 7 minutes and carry one idea each. No hour-long lectures to sit through.
- 02
Predict
Before anything runs: will it compile? What does it print? Being wrong here is the point.
- 03
Build
A private machine with VS Code and a terminal opens in your browser in a couple of seconds. Nothing to install.
- 04
Check
Press Check. When something fails you get the reason, not a red cross.
Rust from Scratch
No courses are published yet.
Then go where Rust is used.
- Solana Program Developer11 courses / in planning
- NEAR Contract Developer9 courses / in planning
- Rust for ML Engineers12 courses / in planning
- Backend Developer13 courses / in planning
- Systems Programmer13 courses / in planning
- Security Tooling11 courses / in planning
- Command-Line Tool Builder9 courses / in planning
Free until it clicks.
Programming Foundations and Ownership and Borrowing are free, labs included. Everything after is one subscription. See what it opens