Aug 2026· Proceedings of the 27th ACM SIGPLAN International Workshop on Scheme and Functional Programming· 0 citations· 11 references
TL;DR
This paper presents an incremental, classroom-scale approach to building a JIT compiler in manageable steps that successfully supports a Read-Eval-Print Loop and a first-call specialization mechanism.
Abstract
Just-in-time (JIT) compilation has become a common tool for language runtimes. JIT compilers have a reputation for being complex, leaving a pedagogical gap between foundational Ahead-of-Time (AOT) concepts and dynamic code generation. This paper presents an incremental, classroom-scale approach to building a JIT compiler in manageable steps. By contrasting an AOT and a JIT backend, we expose core dynamic concerns, including executable buffers, persistent interactive state, mutation, and runtime type optimizations. The result is a minimal yet realistic educational JIT that successfully supports a Read-Eval-Print Loop (REPL) and a first-call specialization mechanism.
This paper presents both the source language, and its register-based virtual machine, while discussing an often neglected feature in compiler design: the incremental parser.
R. Gonçalves, P. Henriques, J. Ramalho et al.· 0 citations
An extension to the compilation process with a post-verification optimization phase to address the eBPF verifier limitation and measure the performance overhead introduced by these restrictions.
Farbod Shahinfar, Aurojit Panda, Gianni Antichi· Proceedings of the 4th Works...· 0 citations
WasmMend is presented, the first system to automatically repair Native-Wasm functional discrepancies and demonstrates the value of divergence-guided reasoning for cross-platform repair.