pith. sign in

arxiv: 1003.5513 · v1 · submitted 2010-03-29 · 💻 cs.LO · cs.PL

Uniqueness Typing for Resource Management in Message-Passing Concurrency

classification 💻 cs.LO cs.PL
keywords channelstypingmessage-passingresourcesuniquenessaddedaffineallocation
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.