#What is Miri?
Miri is a statically typed, natively compiled programming language with first-class GPU programming built into the language rather than bolted on through a library. You mark data gpu to make it device-resident and launch a kernel with forall; the compiler infers every upload, launch and readback. Kernels compile to WGSL and run on Metal, Vulkan, DX12 and WebGPU; host code compiles to native machine code through Cranelift. There are no shader files, no FFI layer and no CUDA toolchain.