z-logo
open-access-imgOpen Access
Fast type reconstruction for dynamically typed programming languages
Author(s) -
Frédéric Pluquet,
Antoine Marot,
Roel Wuyts
Publication year - 2009
Publication title -
lirias (ku leuven)
Language(s) - English
Resource type - Conference proceedings
ISSN - 0362-1340
DOI - 10.1145/1640134.1640145
Subject(s) - computer science , type inference , programming language , smalltalk , data type , inference , byte , code (set theory) , field (mathematics) , type (biology) , static analysis , range (aeronautics) , theoretical computer science , artificial intelligence , object oriented programming , ecology , materials science , mathematics , set (abstract data type) , pure mathematics , composite material , biology
Type inference and type reconstruction derive static types for program elements that have no static type associated with them. They have a wide range of usage, such as helping to eliminate the burden of manually specifying types, verifying whether a program is type-safe, helping to produce more optimized code or helping to understand programs. While type inference and type reconstruction is an active field of research, most existing techniques are interested foremost in the precision of their approaches, at the expense of execution speed. As a result, existing approaches are not suited to give direct feedback in development environments, where interactivity dictates very fast approaches. This paper presents a type reconstruction algorithm for variables that is extremely fast (in the order of milliseconds) and reasonably precise (75 percent). The system is implemented as a byte-code evaluator in several Smalltalk environments, and its execution speed and precision are validated on a number of concrete case studies.status: publishe

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom