@article{Podlovics_Hruska_Pénzes_2021, title={A Modern Look at GRIN, an Optimizing Functional Language Back End}, volume={25}, url={https://cyber.bibl.u-szeged.hu/index.php/actcybern/article/view/4101}, DOI={10.14232/actacyb.282969}, abstractNote={<p>GRIN is short for Graph Reduction Intermediate Notation, a modern back end for lazy functional languages. Most of the currently available compilers for such languages share a common flaw: they can only optimize programs on a per-module basis. The GRIN framework allows for interprocedural whole program analysis, enabling optimizing code transformations across functions and modules as well.</p> <p>Some implementations of GRIN already exist, but most of them were developed only for experimentation purposes. Thus, they either compromise on low-level efficiency or contain ad hoc modifications compared to the original specification.</p> <p>Our goal is to provide a full-fledged implementation of GRIN by combining the currently available best technologies like LLVM, and evaluate the framework’s effectiveness by measuring how the optimizer improves the performance of certain programs. We also present some improvements to the already existing components of the framework. Some of these improvements include a typed representation for the intermediate language and an interprocedural program optimization, the dead data elimination.</p&gt;}, number={4}, journal={Acta Cybernetica}, author={Podlovics, Peter and Hruska, Csaba and Pénzes, Andor}, year={2021}, month={Feb.}, pages={847-876} }