ACM Home Page
Please provide us with feedback. Feedback
Parametric polymorphism in Java: an approach to translation based on reflective features
Full text PdfPdf (277 KB)
Source Conference on Object Oriented Programming Systems Languages and Applications archive
Proceedings of the 15th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications table of contents
Minneapolis, Minnesota, United States
Pages: 146 - 165  
Year of Publication: 2000
ISBN:1-58113-200-X
Also published in ...
Authors
Mirko Viroli  DEIS University of Bologna, via Rasi e Spinelli 176, 47023 Cesena (FC), Italy
Antonio Natali  DEIS University of Bologna, via Risorgimento 2, 40136 Bologna, Italy
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 10,   Downloads (12 Months): 55,   Citation Count: 21
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/353171.353182
What is a DOI?

ABSTRACT

The introduction of parametric polymorphism in Java with translation approaches has been shown to be of considerable interest, allowing the definition of extensions of Java on top of the existing Virtual Machines. Homogeneous translations furthermore, seem to be more useful than heterogeneous, avoiding the continuous increase of library code with redundant information. At this time however, homogeneous approaches aren't as flexible as heterogeneous, with extensions failing to integrate well with base language typing. In this paper, using some of the features of the Core Reflection of Java, we introduce a homogeneous translation in which run-time information about instantiation of type-parameters is carried, allowing full integration of parame-terized types with Java typing. Performance overhead is greatly decreased using a brand new translation technique based on the deferring of the management of type information at load-time. The same power and flexibility of previous heterogeneous approaches is obtained while maintaining homogeneous translation advantages.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
3
4
5
6
 
7
M. Odersky, E. Runne, and P. Wadler. Two ways to bake your Pizza - Translating parameterized types into Java. Technical Report CIS- 97-016, University of South Australia, 1997.
8
9
 
10
 
11
W. R.Cook. A proposal for making Eiffel type-safe. In Euopean Conference on Object Oriented Programming, pages 52-72, October 1989.
12
 
13
K. K. Thorup. Genericity in Java with virtual types. In European Conference on Object-Oriented Programming, pages 444-471. LNCS 1241, Springer-Verlag, June 1997.
 
14
 
15
M. Torgersen. Virtual types are statically safe. In 5th Workshop on Foundations of Object-Oriented Languages, January 1998.
 
16
M. Viroli. On the recursive generation of parametric types. Technical Report DEIS-LIA- 00-002, DEIS - University of Bologna, 2000.
 
17
M. Viroli and A. Natali. Parametric polymorphism in Java through homogeneous translation LM: Gathering type descriptors at load-time. Technical Report DEIS-LIA- 00-001, DEIS - University of Bologna, 2000.
 
18
G. Voss. Java Beans Tutorial, Part 4, Reflection and Introspection. Sun Mycrosystems, Inc., http://java.sun.com.

CITED BY  21

Collaborative Colleagues:
Mirko Viroli: colleagues
Antonio Natali: colleagues