Enter your book access code

The curriculum, drills, tutor, and interviewer mode are for readers of Ace the Rust Interview. The code is printed in the Preface (Companion site access).

Don’t have the book yet? The landing page stays open — purchase unlocks this gym.

Start here

How practice works

This site is the Rust interview gym that ships with the book. Unlock it with the Preface access code. Every problem page carries the prompt, starter, hints, and AI assessment — we never compile or run your code on our servers.

What you are training

Rust interviews score reasoning under the borrow checker, not memorized snippets. The loop below forces you to state a model, hit reality (compiler or tests on your machine), then repair the model — the same sequence a strong onsite answer shows.

  1. Pick a problem from the curriculum. Slugs like own-move-01 are stable bookmarks; tiers go beginner → advanced.
  2. Predict first. Before editing, lock whether the sample compiles or fails, and why (error code + ownership story). Editing and hints stay locked until you commit.
  3. Draft in the editor, then run tests locally with the downloaded problems/ workspace (cargo test -p <slug>). See Downloads.
  4. Paste local output (optional) and ask the AI tutor to assess your attempt — Socratic questions only (No-Code Policy).
  5. Climb Socratic hints one rung at a time. Each rung is a question, never a pasted fix.
  6. Journal every miss (error code, what you predicted, root cause). Cards resurface on a spaced schedule.
  7. Graduate to interviewer mode on capstone-* / design-* slugs: timed screen, think aloud, export a transcript for debrief.

Local Rust environment (required for tests)

Install a stable toolchain, download the companion archives, and run tests on your machine:

# 1) Toolchain — https://rustup.rs
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# 2) After unlock: download problems.zip from /downloads/
unzip problems.zip
cd problems
cargo test -p own-move-01

The website only hosts problems, hints, journal, and the AI tutor. Execution stays on your laptop.

Offline crates

Downloads serves book-code.zip, problems.zip, and projects.zip — source-only archives for local cargo test.

Rules of the gym

  • No remote code execution — we do not run learner Rust in the browser or on our API.
  • No-Code Policy — hints and the tutor never paste a full fix. You synthesize the repair.
  • Tests are the contract — verify with local cargo test.
  • Progress is local — predictions, drafts, journal, and interview transcripts live in this browser’s storage.