The Design and Formalization of Mezzo, a Permission-Based Programming Language
The Design and Formalization of Mezzo, a Permission-Based Programming Language
复制标题
DOI:
10.1145/2837022
复制
发表时间:
2016-10-01
影响因子:
1.3
通讯作者:
Protzenko, Jonathan
中科院分区:
文献类型:
--
作者:
Balabonski, Thibaut;Pottier, Francois;Protzenko, Jonathan
The programming language Mezzo is equipped with a rich type system that controls aliasing and access to mutable memory. We give a comprehensive tutorial overview of the language. Then we present a modular formalization of Mezzo's core type system, in the form of a concurrent lambda-calculus, which we successively extend with references, locks, and adoption and abandon, a novel mechanism that marries Mezzo's static ownership discipline with dynamic ownership tests. We prove that well-typed programs do not go wrong and are data-race free. Our definitions and proofs are machine checked.