Ertl, M. A. (2024). Interpreter vs. Compiler Performance at Run-Time. In Tagungsband des Jahrestreffens 2024 der GI-Fachgruppe “Programmiersprachen und Rechenkonzepte” (pp. 7–12). https://doi.org/10.34726/8799
E194-05 - Forschungsbereich Compilers and Languages
-
Published in:
Tagungsband des Jahrestreffens 2024 der GI-Fachgruppe "Programmiersprachen und Rechenkonzepte"
-
Date (published):
Sep-2024
-
Event name:
Jahrestreffens 2024 der GI-Fachgruppe "Programmiersprachen und Rechenkonzepte"
de
Event date:
28-Apr-2024 - 30-Apr-2024
-
Event place:
Bad Honnef, Germany
-
Number of Pages:
6
-
Keywords:
interpreter; compiler; performance
en
Abstract:
Both ``interpreter'' and ``compiler'' cover a wide range of implementation techniques, and in some cases one can argue where to draw the line. Consequently, both approaches also have a wide performance spread, leading to comparable performance in some cases. The present work looks closely at the SwiftForth JIT compiler and the Gforth interpreter. Even with dynamic superinstructions and IP-update optimizations, Gforth suffers from interpretive overhead, but that is compensated by Gforth's additional sophistication in caching stack items in registers, an optimization that SwiftForth does not employ.
en
Research Areas:
Computer Engineering and Software-Intensive Systems: 100%