Lazy compilation of template-generated classes in dynamic compilation execution environments
Abstract
Template-generated classes in program code are compiled efficiently through a process of lazy compilation resulting in improved compilation times. Lazy compilation includes the generation of objects representing a class template and a template-generated class as well as the selective compilation of class methods that are invoked in the program code. Code sharing is a further enhancement for increasing compilation speed by providing a system and method for sharing executable object code for compatible methods among different classes generated from the same class template.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 16.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for instantiating an object of a data type from a class template and a type parameter in a program code, comprising: creating a representation of a class template from a definition of the class template, wherein the class template representation, in conjunction with a first type parameter, serves as a resource for runtime instantiation of a first data type; determining, at runtime, whether a first object of the first data type has been instantiated, wherein the first data type is based on the class template representation and the first type parameter; returning a reference to the firs
- Claim 2Depends on #1
The method of claim 1 , wherein creating a representation further comprises: type-checking, during compi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- A. Krall et al., "CACAO EIN 64-Bit-JavaVM-Just-in-Time-Compiler," Jan. 1997, pp. 1-88.
- B. Grant et al., "The Benefits and Costs of DyC's Run-Time Optimizations," ACM Transactions on Programming Languages and Systems, vol. 22, No. 5, Sep. 2000, pp. 932-972.
- David Intersimone, "Borland AppAccelerator/Latte-Interview with Regis Crelier," Summary of Java Just-in-Time Compilers, Jul. 23, 1996, pp. 1-5, URL:http://al.cs.ua.edu/äjones/jit.html, retrieved on Jul. 14, 2003.
- David Wakeling, "The Dynamic Compilation of Lazy Functional Programs," J. Functional Programming, 1(1): 1-21 (1993).
- Dawson R. Engler, "A VCODE Tutorial," Laboratory for Computer Science, MIT, Cambridge, Massachusetts (1996).