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 条
  • [31] Ownership types for flexible alias protection
    Clarke, DG
    Potter, JM
    Noble, J
    ACM SIGPLAN NOTICES, 1998, 33 (10) : 48 - 64
  • [32] Home ownership, income and types of dwellings
    Conant, Luther
    AMERICAN ECONOMIC REVIEW, 1933, 23 (03): : 546 - 546
  • [33] Implicit ownership types for memory management
    Zhao, Tian
    Baker, Jason
    Hunt, James
    Noble, James
    Vitek, Jan
    SCIENCE OF COMPUTER PROGRAMMING, 2008, 71 (03) : 213 - 241
  • [34] How to Evaluate Blame for Gradual Types, Part 2
    Lazarek, Lukas
    Greenman, Ben
    Felleisen, Matthias
    Dimoulas, Christos
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (ICFP): : 159 - 186
  • [35] Type Inference for Rank 2 Gradual Intersection Types
    Angelo, Pedro
    Florido, Mario
    TRENDS IN FUNCTIONAL PROGRAMMING, TFP 2019, 2020, 12053 : 84 - 120
  • [36] Diversity in Online News: On the importance of ownership types and media system types
    Humprecht, Edda
    Esser, Frank
    JOURNALISM STUDIES, 2018, 19 (12) : 1825 - 1847
  • [37] Ownership structure and audit quality: An empirical analysis considering ownership types in Jordan
    Alhababsah, Salem
    JOURNAL OF INTERNATIONAL ACCOUNTING AUDITING AND TAXATION, 2019, 35 : 71 - 84
  • [38] A Grounded Conceptual Model for Ownership Types in Rust
    Crichton, Will
    Gray, Gavin
    Krishnamurthi, Shriram
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA): : 1224 - 1252
  • [39] Large shareholder ownership types and board governance
    Ho, Joanna
    Huang, Cheng Jen
    Karuna, Christo
    JOURNAL OF CORPORATE FINANCE, 2020, 65
  • [40] Different Types of Trust from an Ownership Aspect
    Sandor, Istvan
    EUROPEAN REVIEW OF PRIVATE LAW, 2016, 24 (06): : 1189 - 1216