Comparing universes and existential ownership types

  • Authors:
  • Nicholas Cameron;Werner Dietl

  • Affiliations:
  • Victoria University of Wellington;ETH Zurich

  • Venue:
  • International Workshop on Aliasing, Confinement and Ownership in Object-Oriented Programming
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Ownership types and Universe types are two type systems used to structure the heap and enforce encapsulation disciplines. The parametricity of ownership types allows a finergrained description of heap topologies, whereas the flexibility of any references in Universe types allows sharing between data structures. No direct encoding of one type system in the other has been possible. Parametric ownership has recently been extended with existential quantification of contexts. We formalise such a language and give a formal translation between programs written in this language and using Universe types. We show that this translation is sound and complete.