Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Fast type reconstruction for dynamically typed programming languages
Pluquet F., Marot A., Wuyts R.  DLS 2009 (Proceedings of the 5th Symposium on Dynamic Languages, Orlando, FL, Oct 26, 2009)69-78.2009.Type:Proceedings
Date Reviewed: Apr 1 2010

The increasing popularity of dynamically typed languages--such as JavaScript, Ruby, and Smalltalk--pressures their associated community to produce better tools for program comprehension and verification. Automatically extracting type information for a program written in a dynamically typed language is a win-win approach--language designers can keep their language untouched and users do not need to change their habits to obtain type information.

The work presented here makes a significant contribution in this respect. The authors’ idea relies on a static analysis of messages sent to variables. The type of a variable is deduced from the set of messages sent in the class that defines the variable. In addition to this, several simple but effective heuristics based on variable assignment are provided to enhance the accuracy of the analysis. This type reconstruction schema is reasonably precise, with a matching of 75 percent of the real type found at execution.

The proposed type reconstruction mechanism copes with the severe practical requirements of an open-source software community. The language extension is distributed as an external library, making loading and unloading easy. In addition, it is very fast, and is noninvasive with regard to other language extensions and tools. The implementation is part of the standard Pharo Smalltalk distribution that reaches a significant number of end users and developers.

The paper should be very valuable to any dynamic or scripting language designer who wishes to implement a useful and practical language enhancement.

Reviewer:  Alexandre Bergel Review #: CR137880 (1103-0291)
Bookmark and Share
  Featured Reviewer  
 
Object-Oriented Programming (D.2.3 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Object-Oriented Programming": Date
Teacher specification and student implementation of a unit testing methodology in an introductory programming course
Snyder R. The Journal of Computing Sciences in Colleges 19(3): 22-32, 2004. Type: Article
May 3 2004
C# and game programming: a beginner’s guide (includes DirectX 9.0)
Buono S., A. K. Peters, Ltd., Natick, MA, 2003.  400, Type: Book (9781568811932)
Mar 5 2004
Expert C# business objects
Lhotka R., APress, LP, 2004. Type: Book (9781590593448)
Nov 11 2004
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy