Compiling away the meta-level in object-oriented concurrent reflective languages using partial evaluation
Hidehiko Masuhara, Satoshi Matsuoka, Kenichi Asai et al. · Conference on Object-Oriented Programming Systems, Languages, and Applications · 1995
Meta-level programmability is beneficial for parallel/distributed object-oriented computing to improve performance, etc. The major problem, however, is interpretation overhead due to mta-circular interpretation. To solve this problem, we propose a compilation framework for object-oriented concurrent reflective languages using partial evaluation. Since traditional partial evaluators do not allow us to directly deal with meta-circular interpreters written with concurrent objects, we devised techniques such as pre-/post-processing, a new proposed preaction extension to partial evaluation in order to handle side-effects, etc. Benchmarks of a prototype compiler for our language ABCL/R3 indicate that (1) the meta-level interpretation is essentially 'compiled away,' and (2) mta-level optimizations in a parallel application, running on a Fujitsu MPP AP1000, exhibits only 10--30% overhead compared to the hand-crafted source-level optimization in a non-reflective language.
Cited by 42 works. doi:10.1145/217838.217869
Authors
References
- The art of the metaobject protocol
- Partial evaluation and automatic program generation
- The Art of the Metaobject Protocol
- Reflection in an object-oriented concurrent language
- Making pure object-oriented languages practical
- Concurrent PROLOG: Collected Papers
- Designing an Extensible Distributed Language with a Meta-Level Architecture
- 2011 International Conference on Parallel Processing
- Object-oriented concurrent reflective languages can be implemented efficiently
- Concert-efficient runtime support for concurrent object-oriented programming languages on stock hardware