Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Published June 8, 2019 | Version v1.0.0
Software Open

Transient Typechecks are (Almost) Free [Artifact]

  • 1. School of Design, Victoria University of Wellington
  • 2. University of Kent
  • 3. School of Engineering and Computer Science, Victoria University of Wellington

Description

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 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.

This artifact includes our implementation as part of Moth, an implementation of the Grace language on top of the Truffle/Graal platform. The artifact contains all elements of our empirical evaluation. It aims to enable other researchers to repeat our experiments, verify our results, and possibly extend our research.

Files

Files (5.6 GB)

Name Size Download all
md5:955279be02d3d3ff8f01bd01f3790eb2
5.6 GB Download
md5:26cbe255ecf86ea14de73361880e41be
19.9 MB Download

Additional details

References

  • Roberts, R., Marr, S., Homer, M. & Noble, J. (2019). Transient Typechecks are (Almost) Free. 33rd European Conference on Object-Oriented Programming (p./pp. 29), : Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik. doi: 10.4230/LIPIcs.ECOOP.2019.15