Systems and methods providing lightweight runtime code generation
Abstract
The present invention relates to systems and methods that facilitate dynamic programming language execution in a managed code environment. A runtime code generator is provided within the framework of a managed object environment. The code generator includes a class allocator that reserves one or more method slots for a dynamic method call. A dynamic method builder then employs the method slots to generate an intermediate language stream that forms a method description. The method description is then fed to a Just-In-Tine (JIT) compiler that returns at least one dynamically generated pointer to facilitate execution of the dynamic method call at runtime.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 61.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer readable medium having computer readable instructions stored thereon for implementing a runtime code generator for a managed object environment, the runtime code generator comprising: a class allocator that, upon receiving a dynamic method call, reserves one or more method slots in a method table having memory locations for at least one function pointer associated with the dynamic method call; and a dynamic method builder that creates a method description from an intermediate language stream of metadata tokens and submits the method description to a Just-In-Time compiler that is con
- Claim 2Depends on #1
The computer readable medium of claim 1 , furt
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 61 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Andrew Kennedy and Don Syme. Design and Implementation of Generics for the .NET Language Runtime. Proceedings of the ACM SIGPLAN 2001 Conference, pp. 1-12.
- Emery D. Berger, et. al, "Composing High-Performance Memory Allocatiors", Jun. 1, 2001, ACM Press, vol. 36, Issue 5, pp. 114-123.
- Glen McCluskey, "Using Java Reflection" Jan. 1998, retrived from online, http://java.sun.com/developer/technicalArticles/ALT/Reflection/index.html.
- java.sun.com "Implementing Delegates using Reflection", Apr. 12, 2003, retrived from online, http://java.sun.com/search/i.
- Jeremiah Willcock et al. "Using MPI with C# and the Common Language Infrastructure", Nov. 23-5, 2002, ACM 1-58113-599-8/02/0011.