Meta-compilation of Baseline JIT Compilers with Druid

Virtual Machines (VMs) combine interpreters and just-in-time (JIT) compiled code to achieve good performance.However, implementing different execution engines increases the cost of developing and maintaining such solutions.JIT compilers based on meta-compilation cope with these issues by automatically generating optimizing JIT compilers.This leaves open the question of how meta-compilation applies to baseline JIT compilers, which improve warmup times by trading off optimizations.In this paper, we present Druid, an ahead-of-time automatic approach to generate baseline JIT compiler frontends from interpreters.Language developers guide meta-compilation by annotating interpreter code and using Druid's intrinsics.Druid targets the meta-compilation to an existing JIT compiler infrastructure to achieve good warm-up performance.We applied Druid in the context of the Pharo programming language and evaluated it by comparing an autogenerated JIT compiler frontend against the one in production for more than years.Our generated JIT compiler frontend is 2 faster on average than the interpreter and achieves on average 0.7 the performance of the handwritten JIT compiler.Our experiment only required changes in call sites in the interpreter, showing that our solution makes language VMs easier to maintain and evolve in the long run.

Authors

Institutions

Publication Details

Journal
The Art Science and Engineering of Programming
Published
2025-02-15
DOI
https://doi.org/10.22152/programming-journal.org/2026/10/9
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Meta-compilation of Baseline JIT Compilers with Druid

Sté́phane Ducasse, Guillermo Polito, Nahuel Palumbo, Pablo Tesone
The Art Science and Engineering of Programming
Parallel Computing and Optimization Techniques
article

Meta-compilation of Baseline JIT Compilers with Druid

Sté́phane Ducasse, Guillermo Polito, Nahuel Palumbo, Pablo Tesone
article en

Abstract

Virtual Machines (VMs) combine interpreters and just-in-time (JIT) compiled code to achieve good performance.However, implementing different execution engines increases the cost of developing and maintaining such solutions.JIT compilers based on meta-compilation cope with these issues by automatically generating optimizing JIT compilers.This leaves open the question of how meta-compilation applies to baseline JIT compilers, which improve warmup times by trading off optimizations.In this paper, we present Druid, an ahead-of-time automatic approach to generate baseline JIT compiler frontends from interpreters.Language developers guide meta-compilation by annotating interpreter code and using Druid's intrinsics.Druid targets the meta-compilation to an existing JIT compiler infrastructure to achieve good warm-up performance.We applied Druid in the context of the Pharo programming language and evaluated it by comparing an autogenerated JIT compiler frontend against the one in production for more than years.Our generated JIT compiler frontend is 2 faster on average than the interpreter and achieves on average 0.7 the performance of the handwritten JIT compiler.Our experiment only required changes in call sites in the interpreter, showing that our solution makes language VMs easier to maintain and evolve in the long run.

The Art Science and Engineering of ProgrammingVol. 10(1)
Centre National de la Recherche Scientifique (FR), Université de Lille (FR), École Centrale de Lille (FR)
Openalex Percentile: Top 97%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Meta-compilation of Baseline JIT Compilers with Druid — Sté́phane Ducasse, Guillermo Polito, et al. · The Art Science and Engineering of Programming (2025) | TGRS Research Map | TGRS