Tail-Call Interpreters in Rust – Jimmy Ostler
Summary
This article compares several VM dispatch styles translated from Scala into Rust, with code samples and benchmarks. It explains tail-call optimization, different dispatch strategies (switch, subroutine, indirect, direct), and ends with a simple 16-bit register machine prototype. The result shows direct dispatch as the fastest approach and discusses implications for VM design and Rust usage.