Runtime support for role types that extend underlying types
Abstract
Utilizing role types that extend underlying types. Within a program definition, a computer system identifies a statement assigning an object of an underlying type to a role type that extends the underlying type. The underlying type implements a first interface, and the role type implements a second interface. Based on the role type extending the underlying type, the computer system assigns the object of the underlying type to the role type. Based on assigning the object of the underlying type to the role type, the role type is usable to interact with the object of the underlying type using both the first interface and the second interface.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, implemented at a computer system that includes a processor, for utilizing role types that extend underlying types at a runtime executing on the processor, the method comprising: at the runtime, identifying a first statement within a program definition, the first statement assigning an object of an underlying type to a role type that extends the underlying type, wherein: the underlying type implements a first interface, and the role type implements a second interface; at the runtime, assigning the object of the underlying type to the role type based on the role type extending the unde
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- “International Search Report and Written Opinion Issued in PCT Application No. PCT/US23/023452”, Mailed Date: Sep. 18, 2023, 14 Pages.
- Canning et al, “Interfaces for Strongly-Typed Object-Oriented Programming”,ACM, pp. 457-467 (Year: 1989).
- Fumero et al, “Runtime Code Generation and Data Management for Heterogeneous Computing in Java”, ACM, pp. 16-26 (Year: 2015).
- Huang et al, “Dynamic Code Management: Improving Whole Program Code Locality in Managed Runtimes”, ACM, pp. 133-143 (Year: 2006).
- Kawaguchi et al, “Type-based Data Structure Verification”, ACM, pp. 304-315 (Year: 2009).