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.
| Original language | English |
|---|---|
| Pages (from-to) | 161-178 |
| Number of pages | 18 |
| Journal | Higher-Order and Symbolic Computation |
| Volume | 13 |
| Issue number | 3 |
| DOIs | |
| Publication status | Published - 1 Sept 2000 |
| Externally published | Yes |
Fingerprint
Dive into the research topics of 'Static and dynamic program compilation by interpreter specialization'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver