Multiparty asynchronous session types

被引:109
|
作者
Honda, Kohei [1 ]
Yoshida, Nobuko [2 ]
Carbone, Marco [1 ]
机构
[1] Univ London, London WC1E 7HU, England
[2] Univ London Imperial Coll Sci Technol & Med, London SW7 2AZ, England
基金
英国工程与自然科学研究理事会;
关键词
theory; types; design; communications; multiparty; structured programming; session types; mobile processes; causality; choreography;
D O I
10.1145/1328897.1328472
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 general n-party asynchronous interactions.
引用
收藏
页码:273 / 284
页数:12
相关论文
共 50 条
  • [1] Multiparty Asynchronous Session Types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    [J]. JOURNAL OF THE ACM, 2016, 63 (01)
  • [2] Multiparty Asynchronous Session Types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    [J]. POPL'08: PROCEEDINGS OF THE 35TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2008, : 273 - 284
  • [3] A Gentle Introduction to Multiparty Asynchronous Session Types
    Coppo, Mario
    Dezani-Ciancaglini, Mariangiola
    Padovani, Luca
    Yoshida, Nobuko
    [J]. FORMAL METHODS FOR MULTICORE PROGRAMMING, SFM 2015, 2015, 9104 : 146 - 178
  • [4] Asynchronous Session Types: Exceptions and Multiparty Interactions
    Carbone, Marco
    Yoshida, Nobuko
    Honda, Kohei
    [J]. FORMAL METHODS FOR WEB SERVICES, 2009, 5569 : 187 - +
  • [5] Deadlock-Free Asynchronous Message Reordering in Rust with Multiparty Session Types
    Cutner, Zak
    Yoshida, Nobuko
    Vassor, Martin
    [J]. PPOPP'22: PROCEEDINGS OF THE 27TH ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING, 2022, : 246 - 261
  • [6] Hybrid Multiparty Session Types
    Gheri, Lorenzo
    Yoshida, Nobuko
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA):
  • [7] PARAMETERISED MULTIPARTY SESSION TYPES
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    Bejleri, Andi
    Hu, Raymond
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (04)
  • [8] Synchronous Multiparty Session Types
    Bejleri, Andi
    Yoshida, Nobuko
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 241 : 3 - 33
  • [9] Parameterised Multiparty Session Types
    Yoshida, Nobuko
    Denielou, Pierre-Malo
    Bejleri, Andi
    Hu, Raymond
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATIONAL STRUCTURES, PROCEEDINGS, 2010, 6014 : 128 - 145
  • [10] Multiparty session types as coherence proofs
    Marco Carbone
    Fabrizio Montesi
    Carsten Schürmann
    Nobuko Yoshida
    [J]. Acta Informatica, 2017, 54 : 243 - 269