Proceedings of the 39th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages 2012
DOI: 10.1145/2103656.2103714
|View full text |Cite
|
Sign up to set email alerts
|

The ins and outs of gradual type inference

Abstract: Gradual typing lets programmers evolve their dynamically typed programs by gradually adding explicit type annotations, which confer benefits like improved performance and fewer run-time failures.However, we argue that such evolution often requires a giant leap, and that type inference can offer a crucial missing step. If omitted type annotations are interpreted as unknown types, rather than the dynamic type, then static types can often be inferred, thereby removing unnecessary assumptions of the dynamic type. … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
64
0

Year Published

2012
2012
2024
2024

Publication Types

Select...
5
2

Relationship

0
7

Authors

Journals

citations
Cited by 66 publications
(66 citation statements)
references
References 29 publications
0
64
0
Order By: Relevance
“…JS 0 [37] is a statically-typed version of JavaScript with inference, where both dynamic addition of fields and method updating are supported. ActionScript is one of the first languages used in the industry to embrace gradual typing, and efforts have been made to optimize it using local type inference [7]. Gradualtalk could certainly benefit from this technique.…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…JS 0 [37] is a statically-typed version of JavaScript with inference, where both dynamic addition of fields and method updating are supported. ActionScript is one of the first languages used in the industry to embrace gradual typing, and efforts have been made to optimize it using local type inference [7]. Gradualtalk could certainly benefit from this technique.…”
Section: Related Workmentioning
confidence: 99%
“…In this context, the possibility to consolidate grown prototypes or scripts with the guarantees of a static type system is appealing. While research in combining static and dynamic typing started more than twenty years ago, recent years have seen a lot of proposals of either static type systems for dynamic languages, or partial type systems that allow a combination of both approaches [1,2,3,4,5,6,7].…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…Other research has adapted the notion of blame tracking from the work on contracts by Findler and Felleisen [11] (Siek and Wadler [28] and Wadler and Findler [35]). Rastogi et al [21] develop an approach for inferring the types of locals variables, parameters, and return types.…”
Section: Related Workmentioning
confidence: 99%
“…In Gradual typing [18], type consistency (a reflective, symmetric but non-transitive relation) is used to relate Dyn with static types, and Dyn is statically consistent with any type. Gradual typing can support type inferance [19,24] and can be applied to object oriented languages [24]. Intermediaries between Dyn and static types are introduced by Flanagan [9] (Hybrid types) and by Wrigstad [23] (like types).…”
Section: Related Workmentioning
confidence: 99%