Comparing R Bytecode Compilers Written in R, Java, and Rust (Extended Abstract)

Gespeichert in:
Bibliographische Detailangaben
Titel: Comparing R Bytecode Compilers Written in R, Java, and Rust (Extended Abstract)
Autoren: Donat-Bouillud, Pierre, Křikava, Filip, Hain, Jakob, Plodek, Adam, Vitek, Jan
Weitere Verfasser: Pierre Donat-Bouillud and Filip Křikava and Jakob Hain and Adam Plodek and Jan Vitek
Verlagsinformationen: Schloss Dagstuhl – Leibniz-Zentrum für Informatik
Publikationsjahr: 2025
Bestand: DROPS - Dagstuhl Research Online Publication Server (Schloss Dagstuhl - Leibniz Center for Informatics )
Schlagwörter: bytecode, compiler
Beschreibung: 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.
Publikationsart: article in journal/newspaper
conference object
Dateibeschreibung: application/pdf
Sprache: English
Relation: Is Part Of OASIcs, Volume 134, Companion Proceedings of the 9th International Conference on the Art, Science, and Engineering of Programming (Programming 2025); https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.Programming.2025.1
DOI: 10.4230/OASIcs.Programming.2025.1
Verfügbarkeit: https://doi.org/10.4230/OASIcs.Programming.2025.1
https://nbn-resolving.org/urn:nbn:de:0030-drops-242854
https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.Programming.2025.1
Rights: https://creativecommons.org/licenses/by/4.0/legalcode
Dokumentencode: edsbas.2DF78BC2
Datenbank: BASE
Beschreibung
Abstract: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.
DOI:10.4230/OASIcs.Programming.2025.1