Existential owners for ownership types
2007 (English)In: Journal of Object Technology, ISSN 1660-1769, Vol. 6, no 4, 141-159 p.Article in journal (Refereed) Published
This paper describes a lightweight approach to adding run-time checked downcasts to a language in the presence of ownership types without the need for a run-time representation of owners. Previous systems  have required owners of objects to be tracked and matched at run-time which is costly in terms of memory and performance. Our proposal avoids run-time overhead to deal with owners and also extends the expressiveness of ownership-based systems enough to handle the Java equals idiom for structural equality comparison. The price is that it is sometimes impossible to downcast a type into a type that can be statically aliased. Our proposal is completely orthogonal and combinable with previous work.
Place, publisher, year, edition, pages
2007. Vol. 6, no 4, 141-159 p.
Other Computer and Information Science
IdentifiersURN: urn:nbn:se:kth:diva-155633ScopusID: 2-s2.0-34249901583OAI: oai:DiVA.org:kth-155633DiVA: diva2:761671
QC 201411072014-11-072014-11-072014-11-07Bibliographically approved