Learn Rust well enough to judge it
AI assistants can write Rust that compiles. Someone still has to decide whether it is right. Rust Primer is a hands-on course for programmers who want to read, write, review and steer Rust with confidence, using AI as a tutor rather than an authority.
Who it is for
Rust Primer is for people who can already program and want to become properly productive in Rust. If you come from Go, C#, Java, TypeScript, Python, C or C++, you are in the right place.
It is not a first programming course, a video series or a browser playground. You work locally, in a real editor, with the real toolchain.
How it works
Every module is a small, concrete problem: repair a function that takes ownership it does not need, replace panics with typed errors, design an API a caller can actually use. You change the code, run the compiler and the tests, and then explain the decision in your own words.
A module is finished when you have evidence:
- code that compiles
- tests that pass
- a short explanation of the central Rust decision
- a link back to the official Rust documentation
- an AI verification drill, where you challenge an answer instead of accepting it
AI is allowed. It is not trusted.
Use an AI assistant for hints, for explanations of compiler errors and for reviews of your reasoning. Do not use it as the final word. In Rust Primer, the order of authority is:
- the code
- the compiler
- the tests
clippyandrustfmt- the official Rust documentation
- human review
- AI output, once it has been verified
Rust is unusually good for learning this way. The compiler and the test suite give definite answers, so you can check your own understanding and an assistant’s claims against something that does not bluff.
Latest articles
- Reviewing AI-written Rust: six things to check
Six patterns that coding assistants produce to keep the compiler happy, why each one matters, and what to ask for instead.
- Why learn Rust when an AI can write it?
Coding assistants can now produce Rust that compiles. That changes what is worth learning, not whether it is worth learning.