Affine Sessions - LNCS 8459: Coordination Models and Languages Access content directly
Conference Papers Year : 2014

Affine Sessions

Abstract

Session types describe the structure of protocols from the point of view of each participating channel. In particular, the types describe the type of communicated values, and also the dynamic alternation of input and output actions on the same channel, by which a protocol can be statically verified. Crucial to any term language with session types is the notion of linearity, which guarantees that channels exhibit exactly the behaviour prescribed by their type. We relax the condition of linearity to that of affinity, by which channels exhibit at most the behaviour prescribed by their types. This more liberal setting allows us to incorporate an elegant error handling mechanism which simplifies and improves related works on exceptions. Moreover, our treatment does not affect the progress properties of the language: sessions never get stuck.
Fichier principal
Vignette du fichier
326181_1_En_8_Chapter.pdf (4 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01290071 , version 1 (17-03-2016)

Licence

Attribution

Identifiers

Cite

Dimitris Mostrous, Vasco Thudichum Vasconcelos. Affine Sessions. 16th International Conference on Coordination Models and Languages (COORDINATION), Jun 2014, Berlin, Germany. pp.115-130, ⟨10.1007/978-3-662-43376-8_8⟩. ⟨hal-01290071⟩
41 View
67 Download

Altmetric

Share

Gmail Facebook X LinkedIn More