Multiparty asynchronous session types

被引:115
作者
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; LANGUAGE; SYSTEM;
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 条
  • [21] Practical interruptible conversations: distributed dynamic verification with multiparty session types and Python']Python
    Demangeon, Romain
    Honda, Kohei
    Hu, Raymond
    Neykova, Rumyana
    Yoshida, Nobuko
    [J]. FORMAL METHODS IN SYSTEM DESIGN, 2015, 46 (03) : 197 - 225
  • [22] Parameterized, concurrent session types for asynchronous multi-actor interactions
    Charalambides, Minas
    Dinges, Peter
    Agha, Gul
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2016, 115 : 100 - 126
  • [23] Precise Subtyping for Asynchronous Multiparty Sessions
    Ghilezan, Silvia
    Pantovic, Jovanka
    Prokic, Ivan
    Scalas, Alceste
    Yoshida, Nobuko
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2023, 24 (02)
  • [24] A Logical Interpretation of Asynchronous Multiparty Compatibility
    Carbone, Marco
    Marin, Sonia
    Schurmann, Carsten
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, LOPSTR 2023, 2023, 14330 : 99 - 117
  • [25] Precise Subtyping for Asynchronous Multiparty Sessions
    Ghilezan, Silvia
    Pantovic, Jovanka
    Prokic, Ivan
    Scalas, Alceste
    Yoshida, Nobuko
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5
  • [26] Asynchronous Timed Session Types From Duality to Time-Sensitive Processes
    Bocchi, Laura
    Murgia, Maurizio
    Vasconcelos, Vasco Thudichum
    Yoshida, Nobuko
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, ESOP 2019: 28TH EUROPEAN SYMPOSIUM ON PROGRAMMING, 2019, 11423 : 583 - 610
  • [27] Session types revisited
    Dardha, Ornela
    Giachino, Elena
    Sangiorgi, David
    [J]. INFORMATION AND COMPUTATION, 2017, 256 : 253 - 286
  • [28] MODULAR SESSION TYPES FOR OBJECTS
    Gay, Simon J.
    Gesbert, Nils
    Ravara, Antonio
    Vasconcelos, Vasco T.
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2015, 11 (04)
  • [29] Embedding Session Types in Haskell
    Lindley, Sam
    Morris, J. Garrett
    [J]. ACM SIGPLAN NOTICES, 2016, 51 (12) : 133 - 145
  • [30] Undecidability of asynchronous session subtyping
    Bravetti, Mario
    Carbone, Marco
    Zavattaro, Gianluigi
    [J]. INFORMATION AND COMPUTATION, 2017, 256 : 300 - 320