,
Jakob Hain
,
Filip Krikava
,
Sebastián Krynski
,
Jan Vitek
Creative Commons Attribution 4.0 International license
Compilers for dynamic languages often rely on intermediate representations with explicit type annotations to facilitate writing program transformations. This paper documents the design of a new typed intermediate representation for a just-in-time compiler for the R programming language called FIŘ. Type annotations, in FIŘ, capture properties such as sharing, the potential for effects, and compiler speculations. In this extended abstract, we focus on the sharing properties that may be used to optimize away some copies of values.
@InProceedings{laurent_et_al:OASIcs.Programming.2025.24,
author = {Laurent, Micka\"{e}l and Hain, Jakob and Krikava, Filip and Krynski, Sebasti\'{a}n and Vitek, Jan},
title = {{Toward a Typed Intermediate Language for R}},
booktitle = {Companion Proceedings of the 9th International Conference on the Art, Science, and Engineering of Programming (Programming 2025)},
pages = {24:1--24:4},
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.24},
URN = {urn:nbn:de:0030-drops-243086},
doi = {10.4230/OASIcs.Programming.2025.24},
annote = {Keywords: JIT, compilation, static typing, ownership, copy-on-write, dynamic language}
}