Privacy via subsumption

  • Authors:
  • Jon G. Riecke;Christopher A. Stone

  • Affiliations:
  • Bell Laboratories, Lucent Technologies, 700 Mountain Avenue, Murray Hill, New Jersey, 07974;School of Computer Science, Carnegie Mellon University, 5000 Forbes Avenue, Pittsburgh, Pennsylvania, 15213

  • Venue:
  • Information and Computation - FOOL V
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe an object calculus allowing object extension and structural subtyping. Each object has a "dictionary" to mediate the connection between names and components. This extra indirection yields the first object calculus combining both object extension and full width subtyping in a type-safe manner. If class inheritance is modeled with object extension, private fields and methods can be achieved directly by scoping restrictions: private fields or methods are those hidden by subsumption. We prove that the type system is sound, discuss a variant allowing covariant self types, and give some examples of the expressiveness of the calculus.