2018
DOI: 10.1145/3236766
|View full text |Cite
|
Sign up to set email alerts
|

A spectrum of type soundness and performance

Abstract: The literature on gradual typing presents three fundamentally different ways of thinking about the integrity of programs that combine statically typed and dynamically typed code. This paper presents a uniform semantic framework that explains all three approaches, illustrates how each approach affects a developer's work, and adds a systematic performance comparison for a single implementation platform.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
33
0

Year Published

2019
2019
2021
2021

Publication Types

Select...
4
2

Relationship

2
4

Authors

Journals

citations
Cited by 29 publications
(33 citation statements)
references
References 80 publications
0
33
0
Order By: Relevance
“…Second, the design of Transient represents a rather different trade-off. The runtime cost of types can be much lower than Natural in programs that mix typed and untyped code [Greenman and Felleisen 2018], but Transient types offer few guarantees to programmers. The type soundness theorem for Transient ensures only the top-level shape of values in typed code.…”
Section: Discussion: the Trade-off Between The Precision And Cost Of mentioning
confidence: 99%
See 4 more Smart Citations
“…Second, the design of Transient represents a rather different trade-off. The runtime cost of types can be much lower than Natural in programs that mix typed and untyped code [Greenman and Felleisen 2018], but Transient types offer few guarantees to programmers. The type soundness theorem for Transient ensures only the top-level shape of values in typed code.…”
Section: Discussion: the Trade-off Between The Precision And Cost Of mentioning
confidence: 99%
“…A wrapper approach protects untyped code from incorrect types, and a first-order approach does not. While Greenman and Felleisen [2018] point out this difference with examples, they do not characterize it. This paper offers an explanation in terms of complete monitoring .…”
Section: Type Soundness Is Not Enoughmentioning
confidence: 94%
See 3 more Smart Citations