Gradual Ownership Types

被引:0
|
作者
Sergey, Ilya [1 ]
Clarke, Dave [1 ]
机构
[1] Katholieke Univ Leuven, Dept Comp Sci, IBBT DistriNet, Louvain, Belgium
来源
PROGRAMMING LANGUAGES AND SYSTEMS | 2012年 / 7211卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Gradual Ownership Types are a framework allowing programs to be partially annotated with ownership types, while providing the same encapsulation guarantees. The formalism provides a static guarantee of the desired encapsulation property for fully annotated programs, and dynamic guarantees for partially annotated programs via dynamic checks inserted by the compiler. This enables a smooth migration from ownership-unaware to ownership-typed code. The paper provides a formal account of gradual ownership types. The theoretical novelty of this work is in adapting the notion of gradual type system with respect to program heap properties, which, unlike types in functional languages or object calculi, impose restrictions not only on data, but also on the environment the data is being processed in. From the practical side, we evaluate applicability of Gradual Ownership Types for Java 1.4 in the context of the Java Collection Framework and measure the necessary amount of annotations for ensuring the owners-as-dominators invariant.
引用
收藏
页码:579 / 599
页数:21
相关论文
共 50 条
  • [21] Ownership Types for the Join Calculus
    Patrignani, Marco
    Clarke, Dave
    Sangiorgi, Davide
    FORMAL TECHNIQUES FOR DISTRIBUTED SYSTEMS, 2011, 6722 : 289 - 303
  • [22] Encoding ownership types in Java
    Victoria University of Wellington, New Zealand
    Lect. Notes Comput. Sci., (271-290):
  • [23] Existential Owners for Ownership Types
    Wrigstad, Tobias
    Clarke, Dave
    JOURNAL OF OBJECT TECHNOLOGY, 2007, 6 (04): : 141 - 159
  • [24] Ownership types for object encapsulation
    Boyapati, C
    Liskov, B
    Shrira, L
    ACM SIGPLAN NOTICES, 2003, 38 (01) : 213 - 223
  • [25] Robust identification of gradual shot transition types
    Mittal, A
    Cheong, LF
    Sing, LT
    2002 INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, VOL II, PROCEEDINGS, 2002, : 413 - 416
  • [26] Granullar: Gradual Nullable Types for Java']Java
    Brotherston, Dan
    Dietl, Werner
    Lhotak, Ondrej
    CC'17: PROCEEDINGS OF THE 26TH INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION, 2017, : 87 - 97
  • [27] Borrowable Fractional Ownership Types for Verification
    Nakayama, Takashi
    Matsushita, Yusuke
    Sakayori, Ken
    Sato, Ryosuke
    Kobayashi, Naoki
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2024, PT II, 2024, 14500 : 224 - 246
  • [28] Structural Lock Correlation with Ownership Types
    Lu, Yi
    Potter, John
    Xue, Jingling
    PROGRAMMING LANGUAGES AND SYSTEMS, 2013, 7792 : 391 - 410
  • [29] A fundamental permission interpretation for ownership types
    Zhao, Yang
    Boyland, John
    TASE 2008: SECOND IFIP/IEEE INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2008, : 65 - +
  • [30] Encoding Ownership Types in Java']Java
    Cameron, Nicholas
    Noble, James
    OBJECTS, MODELS, COMPONENTS, PATTERNS, 2010, 6141 : 271 - 290