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

Integrating typed and untyped code in a scripting language

Abstract: Many large software systems originate from untyped scripting language code. While good for initial development, the lack of static type annotations can impact code-quality and performance in the long run. We present an approach for integrating untyped code and typed code in the same system to allow an initial prototype to smoothly evolve into an efficient and robust program. We introduce like types, a novel intermediate point between dynamic and static typing. Occurrences of like types variables are checked st… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
48
0

Year Published

2010
2010
2024
2024

Publication Types

Select...
4
3
1

Relationship

0
8

Authors

Journals

citations
Cited by 84 publications
(48 citation statements)
references
References 24 publications
0
48
0
Order By: Relevance
“…There has been a lot of interest in exploring ways to mix typed and untyped code, e.g., via occurrence typing [22], gradual typing [16,17], hybrid typing [8], and like typing [26]. In these systems, types are supplied by the user.…”
Section: Combining Static Typing and Dynamic Typingmentioning
confidence: 99%
“…There has been a lot of interest in exploring ways to mix typed and untyped code, e.g., via occurrence typing [22], gradual typing [16,17], hybrid typing [8], and like typing [26]. In these systems, types are supplied by the user.…”
Section: Combining Static Typing and Dynamic Typingmentioning
confidence: 99%
“…Theoretical approaches have been developed to tackle the space dimension [7,13], but execution time is also an issue. This has led certain languages to favor a coarse-grained integration of typed and untyped code [15] or to consider a weaker form of integration that avoids costly casts [16]. * Esteban Allende is funded by a CONICYT-Chile Ph.D.…”
Section: Extended Abstractmentioning
confidence: 99%
“…Thorn's "like types" [7,47] are intermediate between staticallychecked types and Dynamic, and their benefits are also intermediate between the two. A like type's uses must be correct according to the static type system, but any value may be assigned to a like type (and must be checked at runtime).…”
Section: Adding Dynamic To a Static Type Systemmentioning
confidence: 99%
“…Some of the related work assumes that a programmer will want to use dynamic typing indefinitely in some parts of a program; the work seeks interoperability with staticallytyped code. Other work aims to evolve dynamically-typed programs into statically-typed programs [5,9,39,44,45,41,7,47]. But, once the program has been converted, the benefits of dynamic typing are lost during later maintenance stages (unless the programmer explicitly changes types back to Dynamic).…”
Section: Comparison To the Ductile Approachmentioning
confidence: 99%
See 1 more Smart Citation