JIT Compiling Code in 5μs
Summary
An in-depth look at building a fast JIT compiler using AI-assisted tooling in Rust. The post compares an interpreter, a handwritten regex implementation, and a JIT-generated version, sharing ARM64 assembly templates, a code-emitter, and a method to execute generated code via mmap. It concludes that AI can lower the barrier to high-performance systems programming and highlights a real-world project, pgrust.