Skip to main content
Kent Academic Repository

Transient Typechecks are (Almost) Free

Roberts, Richard, Marr, Stefan, Homer, Michael, Noble, James (2019) Transient Typechecks are (Almost) Free. In: 33rd European Conference on Object-Oriented Programming, 15-19 July 2019, London, UK. (doi:10.4230/LIPIcs.ECOOP.2019.5) (KAR id:74327)

Abstract

Transient gradual typing imposes run-time type tests that typically cause a linear slowdown in

programs’ performance. 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 justin-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.

Item Type: Conference or workshop item (Paper)
DOI/Identification number: 10.4230/LIPIcs.ECOOP.2019.5
Uncontrolled keywords: dynamic type checking, gradual types, optional types, Grace, Moth, object-oriented programming
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Stefan Marr
Date Deposited: 09 Jun 2019 21:16 UTC
Last Modified: 16 Feb 2021 14:05 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/74327 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.