Title :
Jumbo: run-time code generation for Java and its applications
Author :
Kamin, Sam ; Clausen, Lars ; Jarvis, Ava
Author_Institution :
Dept. of Comput. Sci., Illinois Univ., Urbana, IL, USA
Abstract :
Run-time code generation is a well-known technique for improving the efficiency of programs by exploiting dynamic information. Unfortunately, the difficulty of constructing run-time code-generators has hampered their widespread use. We describe Jumbo, a tool for easily creating run-time code generators for Java. Jumbo is a compiler for a two-level version of Java, where programs can contain quoted code fragments. The Jumbo API allows the code fragments to be combined at run-time and then executed. We illustrate Jumbo with several examples that show significant speedups over similar code written in plain Java, and argue further that Jumbo is a generalized software component system.
Keywords :
Java; application program interfaces; program compilers; Java; Jumbo; code generation; compiler; run-time code generators; Application software; Assembly; Automatic programming; Computer science; Dynamic compiler; Java; Program processors; Runtime; Software systems; Testing;
Conference_Titel :
Code Generation and Optimization, 2003. CGO 2003. International Symposium on
Print_ISBN :
0-7695-1913-X
DOI :
10.1109/CGO.2003.1191532