Affiliation:
1. University of Wisconsin-Milwaukee, Milwaukee WI
Abstract
Permissions specify mutable state that can be accessed by a program. Fractions distinguish write access (1) from read access (any smaller fraction). Nesting can model object invariants and ownership. Fractional permissions provides a foundation the meaning of many of access-based annotations: uniqueness, read-only, immutability, method effects, guarded state, etc. The semantics of fractional permissions with nesting is given in terms of “fractional heaps.” We show that the fraction law Π ≡ 1/2 Π + 1/2 Π permits sound reasoning and that nesting can be carried out safely using only local reasoning.
Funder
Division of Computing and Communication Foundations
Publisher
Association for Computing Machinery (ACM)
Cited by
26 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Degrees of Separation: A Flexible Type System for Safe Concurrency;Proceedings of the ACM on Programming Languages;2024-04-29
2. Using capabilities for strict runtime invariant checking;Science of Computer Programming;2022-12
3. Fractional resources in unbounded separation logic;Proceedings of the ACM on Programming Languages;2022-10-31
4. Coeffects for sharing and mutation;Proceedings of the ACM on Programming Languages;2022-10-31
5. A flexible type system for fearless concurrency;Proceedings of the 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation;2022-06-09