2003 · 219 citations · 49 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSystems ProgrammingData TypesObject-oriented AnalysisObject-oriented DesignObject-oriented ProgrammingType CheckingType SystemsEncapsulationObject-oriented ArchitectureObject-oriented Language DesignObjectsOwnership Type SystemsOwnership TypesProgram Correctness
Ownership types provide a statically enforceable way of specifying object encapsulation and enable local reasoning about program correctness in object-oriented languages. However, a type system that enforces strict object encapsulation is too constraining: it does not allow efficient implementation of important constructs like iterators. This paper argues that the right way to solve the problem is to allow objects of classes defined in the same module to have privileged access to each other's representations; we show how to do this for inner classes. This approach allows programmers to express constructs like iterators and yet supports local reasoning about the correctness of the classes, because a class and its inner classes together can be reasoned about as a module. The paper also sketches how we use our variant of ownership types to enable efficient software upgrades in persistent object stores.
49
A Syntactic Approach to Type Soundness
Andy Wright, Matthias Felleisen · Information and Computation · 1994 · 1.1K citations
Barbara Liskov, Alan Snyder, Russell R. Atkinson et al. · Communications of the ACM · 1977 · 772 citations · Full text
Semantics and implementation of schema evolution in object-oriented databases
Jay Banerjee, Won Kim, Hyoung-Joo Kim et al. · 1987 · 668 citations
Region-Based Memory Management
Mads Tofte, Jean-Pierre Talpin · Information and Computation · 1997 · 617 citations
Ownership types for flexible alias protection
David G. Clarke, John Potter, James Noble · 1998 · 578 citations · Full text