English

Uniqueness Typing for Resource Management in Message-Passing Concurrency

Logic in Computer Science 2010-04-08 v1 Programming Languages

Abstract

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.

Keywords

Cite

@article{arxiv.1003.5513,
  title  = {Uniqueness Typing for Resource Management in Message-Passing Concurrency},
  author = {Edsko de Vries and Adrian Francalanza and Matthew Hennessy},
  journal= {arXiv preprint arXiv:1003.5513},
  year   = {2010}
}
R2 v1 2026-06-21T15:03:50.625Z