'C: a language for high-level, efficient, and machine-independent dynamic code generation

106Citations
Citations of this article
30Readers
Mendeley users who have this article in their library.

Abstract

Dynamic code generation allows specialized code sequences to be created using runtime information. Since this information is by definition not available statically, the use of dynamic code generation can achieve performance inherently beyond that of static code generation. Previous attempts to support dynamic code generation have been low-level, expensive, or machine-dependent. Despite the growing use of dynamic code generation, no mainstream language provides flexible, portable, and efficient support for it. We describe 'C (Tick C), a superset of ANSI C that allows flexible, high-level, efficient, and machine-independent specification of dynamically generated code. 'C provides many of the performance benefits of pure partial evaluation, but in the context of a complex, statically typed, but widely used language. 'C examples illustrate the ease of specifying dynamically generated code and how it can be put to use. Experiments with a prototype compiler show that 'C enables excellent performance improvement (in some cases, more than an order of magnitude).

Cite

CITATION STYLE

APA

Engler, D. R., Hsieh, W. C., & Kaashoek, M. F. (1996). ’C: a language for high-level, efficient, and machine-independent dynamic code generation. In Conference Record of the Annual ACM Symposium on Principles of Programming Languages (pp. 131–144). ACM. https://doi.org/10.1145/237721.237765

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free