Course in the making
Learn Rust for TypeScript Developers
Read, review and steer the Rust your AI writes.
I'm building this course. The more of you who join, the sooner it ships.
Almost there: check your inbox and click the link to confirm.
You're on the list. I'll email you when the course is in production, and again when it's out.
That didn't go through. Check the email address, or try again in a minute.
Why Rust, why now
AI can write in any language now, so the language is no longer the hard part. Knowing whether the code is any good still is.
Rust is a good bet for that. Its compiler checks memory, threads and every error path before anything runs, so it catches a lot of what an agent gets wrong. And the code it accepts is fast and lean.
It's also far from niche. Amazon, Microsoft, Google, Cloudflare and Discord run Rust in production, the Linux kernel accepts it, and more and more open-source projects are written in it.
What you'll learn
Draft outline. The waitlist answers will shape it.
Rust through TypeScript eyes
Structs, enums and pattern matching, next to the objects, union types and switches you already write.
Ownership and borrowing
The one idea with no TypeScript equivalent, and the compiler errors your agent will keep running into.
Errors without exceptions
Result, Option and the ? operator: errors you can't forget to handle.
Traits and generics
Like interfaces, with a few tricks TypeScript doesn't have.
Async Rust with Tokio
How futures compare to Promises and the event loop.
Cargo and the crates everyone uses
npm for Rust, then serde, clap, axum and sqlx.
Rust where JavaScript runs
WebAssembly in the browser and native Node modules, with wasm-bindgen and napi-rs.
Better code from your agents
An agent writes what you ask for, the way you ask for it. If you can't tell good Rust from code that merely compiles, you'll ship whatever it hands you.
Along the way, the course points out the habits that keep code easy to change: small functions, clear names, errors as values, business logic kept apart from the database and the network. Knowing them makes your prompts sharper and your reviews faster, in Rust and in TypeScript.
Same format as Learn Effect
Narrated lessons where you watch the code build itself and hear why each line is there, with the first lessons free. Here's what that looks like in my Effect course:
50% off for the waitlist
Waitlist members get half off the launch price, whatever it ends up being, for 14 days after the launch email.
Questions
- When is it out?
- There's no date yet. I'm building it, and the more people join, the higher it moves on my list. Waitlist members hear first.
- Do I need to know Rust?
- No. If you're comfortable with TypeScript or JavaScript and have shipped something, you're ready.
- How much will it cost?
- The price isn't set yet. Whatever it is, waitlist members pay half for 14 days after launch.
- How many emails will I get?
- At most two: one when the course is in production, with an estimated date, and one when it's out. Nothing else, and you can unsubscribe anytime.
Writing TypeScript today? Learn Effect is out now: the structure that makes AI-written TypeScript hold up. Start Learn Effect ↗