| Parametric polymorphism in Java: an approach to translation based on reflective features |
| Full text |
Pdf
(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 |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 10, Downloads (12 Months): 55, Citation Count: 21
|
|
|
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
|
Ole Agesen , Stephen N. Freund , John C. Mitchell, Adding type parameterization to the Java language, Proceedings of the 12th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.49-65, October 05-09, 1997, Atlanta, Georgia, United States
|
| |
2
|
|
 |
3
|
Robert Cartwright , Guy L. Steele, Jr., Compatible genericity with run-time types for the Java programming language, Proceedings of the 13th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.201-215, October 18-22, 1998, Vancouver, British Columbia, Canada
|
 |
4
|
Atshushi Igarashi , Benjamin Pierce , Philip Wadler, Featherwieght Java: a minimal core calculus for Java and GJ, Proceedings of the 14th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.132-146, November 01-05, 1999, Denver, Colorado, United States
|
 |
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
|
Gilad Bracha , Martin Odersky , David Stoutamire , Philip Wadler, Making the future safe for the past: adding genericity to the Java programming language, Proceedings of the 13th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.183-200, October 18-22, 1998, Vancouver, British Columbia, Canada
|
| |
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
|
Jose H. Solorzano , Suad Alagić, Parametric polymorphism for Java: a reflective solution, Proceedings of the 13th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications, p.216-225, October 18-22, 1998, Vancouver, British Columbia, Canada
|
| |
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.
|
|