• Media type: E-Book; Report
  • Title: Simple Loose Ownership Domains
  • Contributor: Schäfer, Jan [Author]; Poetzsch-Heffter, Arnd [Author]
  • imprint: KLUEDO - Publication Server of University of Kaiserslautern-Landau (RPTU), 2006
  • Language: English
  • Keywords: object-orientation ; encapsulation ; types ; ownership ; aliasing ; domains
  • Origination:
  • Footnote: Diese Datenquelle enthält auch Bestandsnachweise, die nicht zu einem Volltext führen.
  • Description: Ownership Domains generalize ownership types. They support programming patterns like iterators that are not possible with ordinary ownership types. However, they are still too restrictive for cases in which an object X wants to access the public domains of an arbitrary number of other objects, which often happens in observer scenarios. To overcome this restriction, we developed so-called loose domains which abstract over several precise domains. That is, similar to the relation between supertypes and subtypes we have a relation between loose and precise domains. In addition, we simplified ownership domains by reducing the number of domains per object to two and hard-wiring the access permissions between domains. We formalized the resulting type system for an OO core language and proved type soundness and a fundamental accessibility property.
  • Access State: Open Access