CompGen: generation of fast JIT compilers in a multi-language VM

Florian Latifi, David Leopoldseder, Christian L. Wimmer, Hanspeter Mössenböck · 2021

The first Futamura projection enables compilation and high performance code generation of user programs by partial evaluation of language interpreters. Previous work has shown that online partial evaluation can yield the same peak performance as a specialized JIT compiler. However, this comes with the downside of additional compile time: Online partial evaluation of language interpreters has to specialize interpreter code on the fly to the dynamic types used at run time to create efficient target code. As a result, the time spent on partial evaluation itself is a significant contributor to the overall compile time of a method.

Read the paper · More papers on PaperTik