首页    期刊浏览 2024年11月25日 星期一
登录注册

文章基本信息

  • 标题:Uniqueness Typing for Resource Management in Message-Passing Concurrency
  • 本地全文:下载
  • 作者:Edsko de Vries ; Adrian Francalanza ; Matthew Hennessy
  • 期刊名称:Electronic Proceedings in Theoretical Computer Science
  • 电子版ISSN:2075-2180
  • 出版年度:2009
  • 卷号:22
  • 页码:26-37
  • DOI:10.4204/EPTCS.22.3
  • 出版社:Open Publishing Association
  • 摘要: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.
国家哲学社会科学文献中心版权所有