Patents
US 8,893,098 B2#35561730 Most CitedActiveUnited States (USPTO)Utility

Deferred type inference of generic type parameters in function calls to overloaded functions

2Forward Citations (#35561730 Global)
0.2/yrCitation Velocity (#36264309 Global)
1.30Citation PageRank (#28491239 Global)
17Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The disclosed embodiments provide a system that facilitates the development and execution of a software program. During runtime of the software program, the system delays type inference on a generic type parameter of an implementation of an overloaded function, wherein the generic type parameter is associated with a type interval containing an unbounded lower limit and one or more self-typed constraints. Upon detecting a type query for a dynamic type of the generic type parameter, the system compares a queried type from the type query with a set of inference choices for the generic type parameter. If the queried type matches an inference choice from the set of inference choices, the system uses the inference choice to perform type inference on the generic type parameter.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for facilitating the development and execution of a software program, comprising during runtime of the software program: during runtime of the software program; delaying type inference on a generic type parameter of an implementation of an overloaded function that is invoked in the software program, wherein the generic type parameter is associated with a type interval comprising an unbounded lower limit and one or more self-typed constraints; upon detecting a type query for a dynamic type of the generic type parameter, comparing a queried type from the type query

Technical Overview & Description

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

References Cited — Backward Prior Art (17)

PatentTitleYearCitations
US 5,313,614 AMethod and apparatus for direct conversion of programs in object code form between different hardware architecture computer systems1994131
US 5,551,015 AMethod and apparatus for direct conversion of programs in object code form between different hardware architecture computer systems199672
US 6,243,860 B1Mechanism employing a memory area for exchanging information between a parent process and a child process compiled during execution of the parent process or between a run time compiler process and an application process200147
US 6,606,742 B1Object-oriented interface for portability to diverse operating systems or hardware platforms200382
US 6,868,367 B2Apparatus and method for event correlation and problem reporting200542
US 7,100,153 B1Compiler generation of a late binding interface implementation200648
US 7,627,594 B2Runtime support for nullable types200910
US 7,636,914 B1System and method for providing context to operator overloading200914
US 7,676,476 B2Data types with incorporated collation information20101
US 7,735,070 B2Allowing non-generified methods to override generified methods20107
US 7,761,858 B2Semantic programming language201034
US 7,774,376 B1Type-system extensions for object-oriented language based on coercive subtyping with restrictions201022
US 8,201,139 B2Semantic framework for natural language programming201219
US 8,245,204 B2Parameter management using compiler directives20124
US 8,336,035 B2Customizable dynamic language expression interpreter20126
US 8,397,222 B2Any-to-any system for doing computing201318
US 8,473,971 B2Type inference and type-directed late binding201311

Non-Patent Literature (4)

  • Gal et al, "Trace-based Just-in-Time Type Specialization for Dynamic Languages" ACM, pp. 465-478, 2009.
  • Mehnert, "Extending Dylan's Type System for Better Type Inference and Error Detection", ACM, pp. 1-10, 2010.
  • Tsafrir et al, "Minimizing Dependencies within Generic Classes for Faster and Smaller Programs", ACM, 425-444, 2009.
  • Zhu et al, "Specialization for Applications Using Shared Libraries" ACM, pp. 159-168, 2008.