2017
DOI: 10.1145/3133880
|View full text |Cite
|
Sign up to set email alerts
|

Sound gradual typing is nominally alive and well

Abstract: Recent research has identified significant performance hurdles that sound gradual typing needs to overcome. These performance hurdles stem from the fact that the run-time checks gradual type systems insert into code can cause significant overhead. We propose that designing a type system for a gradually typed language hand in hand with its implementation from scratch is a possible way around these and several other hurdles on the way to efficient sound gradual typing. Such a design process also highlights the t… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
39
0

Year Published

2017
2017
2024
2024

Publication Types

Select...
6
2

Relationship

0
8

Authors

Journals

citations
Cited by 33 publications
(39 citation statements)
references
References 44 publications
(63 reference statements)
0
39
0
Order By: Relevance
“…Finally, instead of leaving the dynamic gradual guarantee as a conjecture, we show that it is incompatible with parametricity, at least given the standard de nitions of both notions. Note that some language features are also known to break the dynamic gradual guarantee, such as structural type tests and object identity (Siek et al 2015a), as well as method overloading and extension methods (Muehlboeck and Tate 2017). e relation between parametric polymorphism in general and dynamic typing much predates the work on gradual typing.…”
Section: Related Workmentioning
confidence: 99%
“…Finally, instead of leaving the dynamic gradual guarantee as a conjecture, we show that it is incompatible with parametricity, at least given the standard de nitions of both notions. Note that some language features are also known to break the dynamic gradual guarantee, such as structural type tests and object identity (Siek et al 2015a), as well as method overloading and extension methods (Muehlboeck and Tate 2017). e relation between parametric polymorphism in general and dynamic typing much predates the work on gradual typing.…”
Section: Related Workmentioning
confidence: 99%
“…work has addressed the problem through new languages with more efficient gradually typed semantics [Muehlboeck and Tate 2017;Vitousek et al 2017] and through new implementation techniques for existing languages [Bauman et al 2017;Richards et al 2017]. There are two main differences between our work and previous efforts: First, our approach does not require changes to existing gradually typed languages or implementations; it works with the prevailing implementation technique of translating a typed variant of a language into an underlying untyped language.…”
Section: :7mentioning
confidence: 99%
“…The Nom programming language [Muehlboeck and Tate 2017] addresses it by designing the static and dynamic semantics for a gradually typed language from the ground up instead of adding gradual typing to an existing language. This helps reduce the overhead of running casts.…”
Section: Gradual Typing Performancementioning
confidence: 99%
“…2017]. A second approach is to guard the boundaries between typed and untyped regions with first-order checks [Muehlboeck and Tate 2017;Rastogi et al 2015;Roberts et al 2018;Vitousek et al 2017;Wrigstad et al 2010]. A third approach is to enforce types with higher-order contracts [Allende et al 2013;Williams et al 2017].…”
mentioning
confidence: 99%
“…One alternative is to use types only for static analysis, and ignore the question of runtime overhead [Bierman et al 2014;Bracha and Griswold 1993;Chaudhuri et al 2017]. Another is to design a new language with the flexibility of dynamic typing, but where every value comes with an intrinsic type [Muehlboeck and Tate 2017;Rastogi et al 2015;Richards et al 2015;Wrigstad et al 2010]. 4 Finally, a third approach is to offer weaker soundness and blame guarantees [Roberts et al 2018;Vitousek et al 2017].…”
mentioning
confidence: 99%