Sciweavers

GPCE
2005
Springer

Source-Level Optimization of Run-Time Program Generators

14 years 6 months ago
Source-Level Optimization of Run-Time Program Generators
Abstract. We describe our efforts to use source-level rewriting to optimize run-time program generators written in Jumbo, a run-time program generation system for Java. Jumbo is a compiler written in compositional style, which brings the advantage that any program fragment can be abstracted out and compiled to an intermediate form. These forms can be put together at run-time to build complete programs. This principle provides a high level of flexibility in writing program generators. However, this comes at the price of inefficient run-time compilation. Using sourcelevel transformations, we optimize the run-time generation of byte code from fragments, achieving speedups of 5–15%. We discuss the optimization process and give several examples.
Samuel N. Kamin, Baris Aktemur, Philip Morton
Added 27 Jun 2010
Updated 27 Jun 2010
Type Conference
Year 2005
Where GPCE
Authors Samuel N. Kamin, Baris Aktemur, Philip Morton
Comments (0)