Multiparty asynchronous session types
Kohei Honda, Nobuko Yoshida, Marco Carbone · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · 2008
Communication is becoming one of the central elements in software development. As a potential typed foundation for structured communication-centred programming, session types have been studied over the last decade for a wide range of process calculi and programming languages, focussing 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-centred 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 a friendly type syntax of binary session types while 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 generaln-party asynchronous interactions.
Cited by 646 works. doi:10.1145/1328438.1328472
Authors
References
- Time, clocks, and the ordering of events in a distributed system
- Applied cryptography: Protocols, algorithms, and source code in C
- Linear logic
- Communicating and Mobile Systems: the Pi-Calculus
- Types and Programming Languages
- On Communicating Finite-State Machines
- An object calculus for asynchronous communication
- Language primitives and type discipline for structured communication-based programming
- An interaction-based language and its typing system
- Language support for fast and reliable message-based communication in singularity OS