Uniqueness Typing for Resource Management in Message-Passing Concurrency.

Loading...
Thumbnail Image

Date

Journal Title

Journal ISSN

Volume Title

Publisher

Access

Embargo end date

Citation

Edsko de Vries, Adrian Francalanza and Matthew Hennessy., Uniqueness Typing for Resource Management in Message-Passing Concurrency., First International Workshop on Linearity (LINEARITY 2009). Electronic Proceedings in Theoretical Computer Science, First International Workshop on Linearity (LINEARITY 2009), Coimbra, Portugal, September 2009, M. Florido and I. Mackie, 22, 2010, 26-37

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.

Description

PUBLISHED
Coimbra, Portugal

Endorsement

Review

Supplemented By

Referenced By

Sponsor: Science Foundation Ireland (SFI)
Grant Number: 06 IN.1 1898.

Other Titles: First International Workshop on Linearity (LINEARITY 2009). Electronic Proceedings in Theoretical Computer Science
Type of material: Conference Paper