计算机科学 > 程序设计语言
[提交于 2013年11月28日]
标题:Programming with Permissions in Mezzo
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present Mezzo, a typed programming language of ML lineage. Mezzo is equipped with a novel static discipline of duplicable and affine permissions, which controls aliasing and ownership. This rules out certain mistakes, including representation exposure and data races, and enables new idioms, such as gradual initialization, memory re-use, and (type)state changes. Although the core static discipline disallows sharing a mutable data structure, Mezzo offers several ways of working around this restriction, including a novel dynamic ownership control mechanism which we dub "adoption and abandon".
提交历史
来自:Jonathan Protzenko[v1] 2013年11月28日 星期四 09:15:55 UTC