,
Stefan Marr
,
Michael Homer
,
James Noble
Creative Commons Attribution 3.0 Unported license
Transient gradual typing imposes run-time type tests that typically cause a linear slowdown. This performance impact discourages the use of type annotations because adding types to a program makes the program slower. A virtual machine can employ standard just-in-time optimizations to reduce the overhead of transient checks to near zero. These optimizations can give gradually-typed languages performance comparable to state-of-the-art dynamic languages, so programmers can add types to their code without affecting their programs' performance.
@InProceedings{roberts_et_al:LIPIcs.ECOOP.2019.5,
author = {Roberts, Richard and Marr, Stefan and Homer, Michael and Noble, James},
title = {{Transient Typechecks Are (Almost) Free}},
booktitle = {33rd European Conference on Object-Oriented Programming (ECOOP 2019)},
pages = {5:1--5:28},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-111-5},
ISSN = {1868-8969},
year = {2019},
volume = {134},
editor = {Donaldson, Alastair F.},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2019.5},
URN = {urn:nbn:de:0030-drops-107974},
doi = {10.4230/LIPIcs.ECOOP.2019.5},
annote = {Keywords: dynamic type checking, gradual types, optional types, Grace, Moth, object-oriented programming}
}