This work introduces a prototype JIT compiler for the R programming language, based on the Copy-and-Patch approach. R’s highly dynamic nature makes efficient native compilation difficult. Building on the Ř project (a prior JIT compiler for R known for its good execution performance but slow compilation speed), this prototype repurposes its bytecode instruction infrastructure to enable rapid compilation by copying and modifying precompiled instruction chunks at runtime. Despite its simplicity, the prototype supports full program execution and delivers significantly faster compilation times. Preliminary optimizations show promising improvements in runtime performance, suggesting Copy-and-Patch is a viable foundation for low-overhead JIT compilers in dynamic languages.
Tue 3 JunDisplayed time zone: Belgrade, Bratislava, Budapest, Ljubljana, Prague change
10:30 - 12:00 | Lightning Talks - Block 1Lightning Talks at S 8 Chair(s): Pierre Donat-Bouillud Czech Technical University in Prague | ||
10:30 22mTalk | Smalltix: Smalltalk via the Unix Filesystem Lightning Talks | ||
10:52 22mTalk | Copy-and-Patch JIT for R Lightning Talks Matěj Kocourek Czech Technical University, Czechia | ||
11:15 22mTalk | Understanding Feedback Information in Just-in-Time Compilers Lightning Talks | ||
11:37 22mTalk | Binary parametricity in Rocq — the case of record types Lightning Talks Vojtěch Štěpančík Inria | ||