Multiparty Asynchronous Session Types
Authors:
Top Cited Papers
Open Access
- 3 March 2016
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 63 (1) , 1-67
Abstract
Communication is a central elements in software development. As a potential typed foundation for structured communication-centered programming, session types have been studied over the past decade for a wide range of process calculi and programming languages, focusing on binary (two-party) sessions. This work extends the foregoing theories of binary session types to multiparty, asynchronous sessions, which often arise in practical communication-centered applications. Presented as a typed calculus for mobile processes, the theory introduces a new notion of types in which interactions involving multiple peers are directly abstracted as a global scenario. Global types retain the friendly type syntax of binary session types while specifying dependencies and capturing complex causal chains of multiparty asynchronous interactions. A global type plays the role of a shared agreement among communication peers and is used as a basis of efficient type-checking through its projection onto individual peers. The fundamental properties of the session type discipline, such as communication safety, progress, and session fidelity, are established for general n-party asynchronous interactions.Keywords
Funding Information
- EPSRC (EP/K011715/1,EP/K034413/1,EP/L00058X/1)
- The European Union (FP7-ICT-2013-X 612985)
- European Cooperation in Science and Technology (COST Action IC1201)
This publication has 111 references indexed in Scilit:
- On Global Types and Multi-Party SessionLogical Methods in Computer Science, 2012
- Conversation typesTheoretical Computer Science, 2010
- Multiparty Symmetric Sum TypesElectronic Proceedings in Theoretical Computer Science, 2010
- Linear type theory for asynchronous session typesJournal of Functional Programming, 2009
- Choreographies with Secure Boxes and Compromised PrincipalsElectronic Proceedings in Theoretical Computer Science, 2009
- Bounded polymorphism in session typesMathematical Structures in Computer Science, 2008
- Type checking a multithreaded functional language with session typesTheoretical Computer Science, 2006
- A Conversation with Steve Ross-TalbotQueue, 2006
- Correspondence assertions for process synchronization in concurrent communicationsJournal of Functional Programming, 2005
- Time, clocks, and the ordering of events in a distributed systemCommunications of the ACM, 1978