Show simple item record

Authordc.contributor.authorAllende, Esteban 
Authordc.contributor.authorFabry, Johan K. es_CL
Authordc.contributor.authorTanter, Éric Pierre es_CL
Admission datedc.date.accessioned2014-12-15T15:36:09Z
Available datedc.date.available2014-12-15T15:36:09Z
Publication datedc.date.issued2014
Cita de ítemdc.identifier.citationACM Volume 49 Issue 2, February 2014en_US
Identifierdc.identifier.otherDOI: 10.1145/2508168.2508171
Identifierdc.identifier.urihttps://repositorio.uchile.cl/handle/2250/126587
General notedc.descriptionArtículo de publicación ISien_US
Abstractdc.description.abstractGradual typing enables a smooth and progressive integration of static and dynamic typing. The semantics of a gradually-typed program is given by translation to an intermediate language with casts: runtime type checks that control the boundaries between statically- and dynamically-typed portions of a program. This paper studies the performance of different cast insertion strategies in the context of Gradualtalk, a gradually-typed Smalltalk. We first implement the strategy specified by Siek and Taha, which inserts casts at call sites. We then study the dual approach, which consists in performing casts in callees. Based on the observation that both strategies perform well in different scenarios, we design a hybrid strategy that combines the best of each approach. We evaluate these three strategies using both micro- and macro-benchmarks.We also discuss the impact of these strategies on memory, modularity, and inheritance. The hybrid strategy constitutes a promising cast insertion strategy for adding gradual types to existing dynamicallytyped languages.en_US
Lenguagedc.language.isoenen_US
Publisherdc.publisherPleiaden_US
Type of licensedc.rightsAttribution-NonCommercial-NoDerivs 3.0 Chile*
Link to Licensedc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/3.0/cl/*
Keywordsdc.subjectGradual typingen_US
Títulodc.titleCast Insertion Strategies for Gradually-Typed Objectsen_US
Document typedc.typeArtículo de revista


Files in this item

Icon

This item appears in the following Collection(s)

Show simple item record

Attribution-NonCommercial-NoDerivs 3.0 Chile
Except where otherwise noted, this item's license is described as Attribution-NonCommercial-NoDerivs 3.0 Chile