Supporting dynamic behavior in statically compiled programs
Abstract
Support for dynamic behavior is provided during static compilation while reducing reliance on JIT compilation and large runtimes. A mapping is created between metadata and native code runtime artifacts, such as between type definition metadata and a runtime type description, or between method definition metadata, a runtime type description, and a native code method location, or field definition metadata, a runtime type description, and a field location. A mapping between runtime artifacts may also be created. Some compilation results include trampoline code to support a reflection invocation of an artifact in the reduced runtime support environment, for virtual method calls, call-time bounds checking, calling convention conversion, or compiler-intrinsic methods. Some results support runtime diagnostics by including certain metadata even when full dynamic behavior is not supported.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising: a logical processor; a memory in operable communication with the logical processor; a reduced size runtime which resides in the memory and is executable with the logical processor, the reduced size runtime functioning as a replacement for a larger runtime R, the reduced size runtime occupying less nonvolatile storage space than the larger runtime R as a result of containing less metadata than the larger runtime R, wherein metadata includes one or more of the following: a type name, a type member name, a type layout for garbage collection purposes, or a type member
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (30)
Non-Patent Literature (5)
- "Dynamic Programming in the .NET Framework", retrieved from <<http://msdn.microsoft.com/en-us/library/hh156524(v=vs.110).aspx>>, no later than Mar. 5, 2014, 18 pages. [copy available in U.S. Appl. No. 14/227,036, filed Mar. 27, 2014].
- "Dynamic vs Static Compiler (JavaScript)", retrieved from <<http://www.4mghe.com/threads/289411-Dynamic-vs-Static-Compiler-JavaScript>>, Feb. 24, 2014, 3 pages. [copy available in U.S. Appl. No. 14/227,036, filed Mar. 27, 2014].
- "How to: Use Svcutil.exe to Export Metadata from Compiled Service Code", retrieved from <<http://msdn.microsoft.com/en-us/library/aa702581(v=vs.110).aspx>>, Aug. 2, 2012, 4 pages. [copy available in U.S. Appl. No. 14/227,036, filed Mar. 27, 2014].
- "International Preliminary Report on Patentability Issued in PCT Patent Application No. PCT/US2015/022106", dated Mar. 2, 2016, 8 Pages.
- "International Search Report and Written Opinion Issued for PCT Patent Application No. PCT/US2015/022106", dated Jun. 1, 2015, 15 pages. [copy available in U.S. Appl. No. 14/227,036, filed Mar. 27, 2014].