ISSN:
1573-0557
Keywords:
partial evaluation
;
compilation
;
compiler design
;
Just-In-Time compilation
;
run-time code generation
;
domain-specific languages
;
bytecode languages
Source:
Springer Online Journal Archives 1860-2000
Topics:
Computer Science
Notes:
Abstract Interpretation and run-time compilation techniques are increasingly important because they can support heterogeneous architectures, evolving programming languages, and dynamically-loaded code. Interpretation is simple to implement, but yields poor performance. Run-time compilation yields better performance, but is costly to implement. One way to preserve simplicity but obtain good performance is to apply program specialization to an interpreter in order to generate an efficient implementation of the program automatically. Such specialization can be carried out at both compile time and run time. Recent advances in program-specialization technology have significantly improved the performance of specialized interpreters. This paper presents and assesses experiments applying program specialization to both bytecode and structured-language interpreters. The results show that for some general-purpose bytecode languages, specialization of an interpreter can yield speedups of up to a factor of four, while specializing certain structured-language interpreters can yield performance comparable to that of an implementation in a general-purpose language, compiled using an optimizing compiler.
Type of Medium:
Electronic Resource
URL:
http://dx.doi.org/10.1023/A:1010078412711
Permalink