Patents
US 8,201,155 B2#56005006 Most CitedActiveUnited States (USPTO)Utility

Handling multiple definition of types

1Forward Citations (#56005006 Global)
0.1/yrCitation Velocity (#51038910 Global)
0.80Citation PageRank (#56005006 Global)
11Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

User assemblies can be created by a compiler that can handle more than one type definition during execution. Local copies are created for respective authoritative types in a code library, and the local copies are marked with a local type identifier. An authoritative type identifier (e.g., a globally unique identifier (GUID)) is copied from the authoritative type to the local type, and functions and properties associated with the local type are also copied from the authoritative type. Authoritative types are resolved for requested types when a local assembly references a local type from a compiled user assembly. The local type can be identified by a local type identifier, and an authoritative type can be retrieved from the code library that has a same authoritative type identifier as the requested type. A local copy of the retrieved authoritative type can be copied to the local assembly under compilation. The compiler can then emit user assemblies that comprise merely local types.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 1.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for handling more than one definition of a same data type, during compilation of managed code for a host application, comprising: loading a set of computer-usable instructions onto a memory of a computer system, which when executed cause a compiler on the computer system to: create one or more local copies of one or more authoritative data types from a code library for respective local assemblies of managed code being compiled, comprising: marking a local copy with a local identifier attribute; copying an authoritative type identifier from an authoritative data type to the local copy;

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (1 of 1 total)

Non-Patent Literature (5)

  • Jones et al., "Wobbly Types: Type Inference for Generalised Algebraic Data Types",Technical Report MS-CIS-05-26, Computer and Information Science Department, University of Pennsylvania, Jul. 2004, http://research.microsoft.com/~simonpj/papers/gadt/MS-CIS-05-26.pdf.
  • Jones et al., "Wobbly Types: Type Inference for Generalised Algebraic Data Types",Technical Report MS-CIS-05-26, Computer and Information Science Department, University of Pennsylvania, Jul. 2004, http://research.microsoft.com/˜simonpj/papers/gadt/MS-CIS-05-26.pdf.
  • Mycroft et al., "Comparing Type-Based and Proof-Directed Decompilation", http://citeseerx.ist.psu.edu/viewdoc/download;jsessionid=4D875651561C590FE561DE03912F58F8?doi=10.1.1.57.6927&rep=rep1&type=pdf.
  • Pierce et al., "Local Type Inference", ACM Transactions on Programming Languages and Systems, vol. 22, No. 1, Jan. 2000, pp. 1-44, http://www.cis.upenn.edu/~bcpierce/papers/Iti-toplas.pdf.
  • Pierce et al., "Local Type Inference", ACM Transactions on Programming Languages and Systems, vol. 22, No. 1, Jan. 2000, pp. 1-44, http://www.cis.upenn.edu/˜bcpierce/papers/Iti-toplas.pdf.