A tail-call interpreter in (nightly) Rust

last updated: Apr 05, 2026

https://www.mattkeeter.com/blog/2026-04-05-tailcall/

Matt Keeter continues his quest to implement performant UXN CPUs.

Well-explained and thorough article about using the become operator in nightly rust (TIL) to create a tail-call interpreter, and compare it against his assembly backends on a few architectures.

He also points to this Massey Meta Machine writeup, where he learned about tail-call interpreters. See Beating the compiler for previous discussion of tail-call interpreters in discussion of a previous post by the same author.

↑ up