Get 20M+ Full-Text Papers For Less Than $1.50/day. Start a 14-Day Trial for You or Your Team.

Learn More →

Parametric polymorphism for Java: a reflective solution

Parametric polymorphism for Java: a reflective solution A number of inadequacies of existing implementation techniques for extending Java™ with parametric polymorphism are revealed. Homogeneous translations are the most space-efficient but they are not compatible with reflection, some models of persistence, and multiple dispatch. Heterogeneous translations, on the other hand, can potentially produce large amounts of redundant information. Implementation techniques that address these concerns are developed. In languages that support run-time reflection, an adequate implementation of parametric, bounded and F-bounded polymorphism is shown to require (reflective) run-time support. In Java, extensions to the core classes are needed. This is in spite of the fact that parametric polymorphism is intended to be managed statically . http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png ACM SIGPLAN Notices Association for Computing Machinery

Parametric polymorphism for Java: a reflective solution

ACM SIGPLAN Notices , Volume 33 (10) – Oct 1, 1998

Loading next page...
 
/lp/association-for-computing-machinery/parametric-polymorphism-for-java-a-reflective-solution-flA0xUIvaE

References (2)

Publisher
Association for Computing Machinery
Copyright
Copyright © 1998 by ACM Inc.
ISSN
0362-1340
DOI
10.1145/286942.286959
Publisher site
See Article on Publisher Site

Abstract

A number of inadequacies of existing implementation techniques for extending Java™ with parametric polymorphism are revealed. Homogeneous translations are the most space-efficient but they are not compatible with reflection, some models of persistence, and multiple dispatch. Heterogeneous translations, on the other hand, can potentially produce large amounts of redundant information. Implementation techniques that address these concerns are developed. In languages that support run-time reflection, an adequate implementation of parametric, bounded and F-bounded polymorphism is shown to require (reflective) run-time support. In Java, extensions to the core classes are needed. This is in spite of the fact that parametric polymorphism is intended to be managed statically .

Journal

ACM SIGPLAN NoticesAssociation for Computing Machinery

Published: Oct 1, 1998

There are no references for this article.