Two Ways to Bake Your Pizza - Translating Parameterised Types into Java

  • Authors:
  • Martin Odersky;Enno Runne;Philip Wadler

  • Affiliations:
  • -;-;-

  • Venue:
  • Selected Papers from the International Seminar on Generic Programming
  • Year:
  • 1998

Quantified Score

Hi-index 0.01

Visualization

Abstract

We have identified in previous work two translations for parametrically typed extensions of Java. The homogeneous translation maps type variables to a uniform representation, while the heterogeneous translation expands the programb y specialising parameterised classes according to their arguments. This paper describes both translations in detail, compares their time and space requirements and discusses how each affects the Java security model.