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 条
  • [41] Multiple Aggregate Entry Points for Ownership Types
    Ostlund, Johan
    Wrigstad, Tobias
    ECOOP 2012 - OBJECT-ORIENTED PROGRAMMING, 2012, 7313 : 156 - 180
  • [42] A theory of ownership types applied to the construction majors
    Ive, Graham, 1600, Routledge (12):
  • [43] Ownership types and strategic groups in an emerging economy
    Peng, MW
    Tan, J
    Tong, TW
    JOURNAL OF MANAGEMENT STUDIES, 2004, 41 (07) : 1105 - 1129
  • [44] Toward Efficient Gradual Typing for Structural Types via Coercions
    Kuhlenschmidt, Andre
    Almahallawi, Deyaaeldeen
    Siek, Jeremy G.
    PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 517 - 532
  • [45] Two Types of Gradual Events: Solar Protons and Relativistic Electrons
    A. B. Struminsky
    Yu. I. Logachev
    I. Yu. Grigorieva
    A. M. Sadovski
    Geomagnetism and Aeronomy, 2020, 60 : 1057 - 1066
  • [46] Two Types of Gradual Events: Solar Protons and Relativistic Electrons
    Struminsky, A. B.
    Logachev, Yu. I.
    Grigorieva, I. Yu.
    Sadovski, A. M.
    GEOMAGNETISM AND AERONOMY, 2020, 60 (08) : 1057 - 1066
  • [47] Gradient: Gradual Compartmentalization via Object Capabilities Tracked in Types
    Boruch-Gruszecki, Aleksander
    Ghosn, Adrien
    Payer, Mathias
    Pit-Claudel, Clement
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (OOPSLA):
  • [48] TERMINOLOGY OF LAND OWNERSHIP AND TYPES OF SETTLEMENTS IN THE OIKONYMY OF BELOZERYE
    Bakhtereva, Anna A.
    IZVESTIYA URALSKOGO FEDERALNOGO UNIVERSITETA-SERIYA 2-GUMANITARNYE NAUKI, 2023, 25 (04): : 283 - 304
  • [49] Separating Ownership Topology and Encapsulation with Generic Universe Types
    Dietl, Werner
    Drossopoulou, Sophia
    Mueller, Peter
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2011, 33 (06):
  • [50] The Colours of Change Ownership: A Qualitative Exploration of Types of Change Agents' Psychological Ownership During School Change
    Benji-Rabinovitz, Shiran
    Berkovich, Izhak
    JOURNAL OF CHANGE MANAGEMENT, 2022, 22 (02) : 99 - 119