计算机科学 > 计算机科学中的逻辑
[提交于 2010年3月29日]
标题:Uniqueness Typing for Resource Management in Message-Passing Concurrency
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We view channels as the main form of resources in a message-passing programming paradigm. These channels need to be carefully managed in settings where resources are scarce. To study this problem, we extend the pi-calculus with primitives for channel allocation and deallocation and allow channels to be reused to communicate values of different types. Inevitably, the added expressiveness increases the possibilities for runtime errors. We define a substructural type system which combines uniqueness typing and affine typing to reject these ill-behaved programs.
提交历史
来自:EPTCS[v1] 2010年3月29日 星期一 12:01:45 UTC