Learn Miri
Start with a five-minute quickstart, take the full tour of the language, then move to first-class GPU programming — all in one language, no shader files, no FFI.
Quickstart
Install the compiler, write hello.mi, and run your first program. The fastest path from zero
to a running Miri binary.
Language Guide
The complete tour — variables, functions, pattern matching, structs, traits, generics, the memory model, and modules. Read start to finish or jump to a topic.
Tour the language →GPU Programming
Device-resident bindings, forall kernels, on-device reduction, shared memory, atomics, and
interactive gpu frame loops. Starts from your first kernel — no GPU background assumed.
GPU Playground
See Miri GPU programs running live in your browser — Mandelbrot, fluid, particles, a black hole, and more, each compiled to WebGPU from Miri source.
Open the playground →Miri for Agents
Set up Claude Code, Cursor or Codex to write Miri in two commands, then see how the agent checks, repairs, looks up and tests its own code.
Set up your agent →Browse by topic
Jump straight to any part of the reference.
Looking for a short answer rather than a guide — what works today, which GPUs are supported, how memory is managed? Read the FAQ →