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 条
  • [1] Multiparty Asynchronous Session Types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    POPL'08: PROCEEDINGS OF THE 35TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2008, : 273 - 284
  • [2] Multiparty Asynchronous Session Types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    JOURNAL OF THE ACM, 2016, 63 (01)
  • [3] Dynamic Multirole Session Types
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    ACM SIGPLAN NOTICES, 2011, 46 (01) : 435 - 446
  • [4] PARAMETERISED MULTIPARTY SESSION TYPES
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    Bejleri, Andi
    Hu, Raymond
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (04)
  • [5] A simple view of multiparty session types
    Castellani, Ilaria
    26TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2024, 2024,
  • [6] Certifying data in multiparty session types
    Toninho, Bernardo
    Yoshida, Nobuko
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2017, 90 : 61 - 83
  • [7] Deadlock-freedom-by-design: Multiparty Asynchronous Global Programming
    Carbone, Marco
    Montesi, Fabrizio
    ACM SIGPLAN NOTICES, 2013, 48 (01) : 263 - 274
  • [8] Exceptional Asynchronous Session Types
    Fowler, Simon
    Lindley, Sam
    Morris, J. Garrett
    Decova, Sara
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (POPL):
  • [9] Less Is More: Multiparty Session Types Revisited
    Scalas, Alceste
    Yoshida, Nobuko
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (POPL):
  • [10] Monitoring networks through multiparty session types
    Bocchi, Laura
    Chen, Tzu-Chun
    Demangeon, Romain
    Honda, Kohei
    Yoshida, Nobuko
    THEORETICAL COMPUTER SCIENCE, 2017, 669 : 33 - 58