http://www.oopsla.org/2006/2006/index.php?option=com_content&task=view&id=55&Itemid=178

program registration submissions committee lodging portland

A Flow-Based Approach for Variant Parametric Types

A Flow-Based Approach for Variant Parametric Types

Research Paper

Thursday, Oct 26, from 10:30 to 12:00 

A promising approach for type-safe generic codes in the object-oriented paradigm is variant parametric type, which allows covariant and contravariant subtyping on fields where appropriate. Previous approaches formalise variant type as a special case of the existential type system. In this paper, we present a new framework based on flow analysis and modular type checking to provide a simple but accurate model for capturing generic types. Our scheme stands to benefit from past (and future) advances in flow analysis and subtyping constraints. Furthermore, it fully supports casting for variant types with a special reflection mechanism, called cast capture, to handle objects with unknown types. We have built a constraint-based type checker and have proven its soundness. We have also successfully annotated a suite of Java libraries and client code with our flow-based variant type system.

Wei-Ngan Chin, Department of Computer Science, National University of Singapore
Florin Craciun, Department of Computer Science, National University of Singapore
Siau-Cheng Khoo, Department of Computer Science, National University of Singapore
Corneliu Popeea, Department of Computer Science, National University of Singapore

 
Research Papers in the same session
Related Onward! Papers
Related Panels
Related Practitioner Reports
Related Research Papers
Related Tutorials
Related Workshops

While Space Available
Search
program registration submissions committee lodging portland
For comments and questions about the web site
please contact us at support@oopsla.org
© 2005 OOPSLA