,
Filip Křikava
,
Jakob Hain
,
Adam Plodek
,
Jan Vitek
Creative Commons Attribution 4.0 International license
This paper presents a comparative analysis of three implementations of the R bytecode compiler: the official R implementation, a Java-based compiler, and a Rust-based compiler. The R compiler, written in R itself, poses challenges in terms of performance and maintainability. We evaluate designs of the compilers, their trade-offs, and performance characteristics. The Rust version outperforms the Java version, which itself outperforms the R version.
@InProceedings{donatbouillud_et_al:OASIcs.Programming.2025.1,
author = {Donat-Bouillud, Pierre and K\v{r}ikava, Filip and Hain, Jakob and Plodek, Adam and Vitek, Jan},
title = {{Comparing R Bytecode Compilers Written in R, Java, and Rust}},
booktitle = {Companion Proceedings of the 9th International Conference on the Art, Science, and Engineering of Programming (Programming 2025)},
pages = {1:1--1:6},
series = {Open Access Series in Informatics (OASIcs)},
ISBN = {978-3-95977-382-9},
ISSN = {2190-6807},
year = {2025},
volume = {134},
editor = {Edwards, Jonathan and Perera, Roly and Petricek, Tomas},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.Programming.2025.1},
URN = {urn:nbn:de:0030-drops-242854},
doi = {10.4230/OASIcs.Programming.2025.1},
annote = {Keywords: R, bytecode, compiler}
}
archived version
archived version
archived version
archived version