Reachability types: tracking aliasing and separation in higher-order functional programs
Reachability types: tracking aliasing and separation in higher-order functional programs
复制标题
可达性类型:跟踪高阶函数程序中的别名和分离
DOI:
10.1145/3485516
复制
发表时间:
2021
影响因子:
--
通讯作者:
Rompf, Tiark
中科院分区:
文献类型:
--
作者:
Bao, Yuyan;Wei, Guannan;Bračevac, Oliver;Jiang, Yuxuan;He, Qiyang;Rompf, Tiark
Ownership type systems, based on the idea of enforcing unique access paths, have been primarily focused on objects and top-level classes. However, existing models do not as readily reflect the finer aspects of nested lexical scopes, capturing, or escaping closures in higher-order functional programming patterns, which are increasingly adopted even in mainstream object-oriented languages. We present a new type system, λ*, which enables expressive ownership-style reasoning across higher-order functions. It tracks sharing and separation through reachability sets, and layers additional mechanisms for selectively enforcing uniqueness on top of it. Based on reachability sets, we extend the type system with an expressive flow-sensitive effect system, which enables flavors of move semantics and ownership transfer. In addition, we present several case studies and extensions, including applications to capabilities for algebraic effects, one-shot continuations, and safe parallelization.
登录
查看更多内容
DOI:
--
发表时间:
2016
期刊:
European Conference on Object-Oriented Programming
影响因子:
--
作者:
Elias Castegren;Tobias Wrigstad
通讯作者:
Tobias Wrigstad
DOI:
--
发表时间:
2020
期刊:
Proc. ACM Program. Lang.
影响因子:
--
作者:
Fengyun Liu;Ondřej Lhoták;Aggelos Biboudis;Paolo G. Giarrusso;Martin Odersky
通讯作者:
Martin Odersky
DOI:
--
发表时间:
2005
期刊:
European Conference on Object-Oriented Programming
影响因子:
--
作者:
Yi Lu;John Michael Potter
通讯作者:
John Michael Potter
DOI:
--
发表时间:
2016
期刊:
Conference on Object-Oriented Programming Systems, Languages, and Applications
影响因子:
--
作者:
Tiark Rompf;Nada Amin
通讯作者:
Nada Amin
DOI:
10.1016/s1571-0661(04)00026-x
发表时间:
1999
期刊:
2009 24th Annual IEEE Symposium on Logic In Computer Science
影响因子:
--
作者:
P. O'Hearn;J. Power;R. D. Tennent;M. Takeyama
通讯作者:
M. Takeyama