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 条
  • [41] Relating Session Types and Behavioural Contracts: The Asynchronous Case
    Bravetti, Mario
    Zavattaro, Gianluigi
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS (SEFM 2019), 2019, 11724 : 29 - 47
  • [42] Input urgent semantics for asynchronous timed session types
    Murgia, Maurizio
    [J]. JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2019, 107 : 38 - 53
  • [43] Communicating Finite State Machines and an Extensible Toolchain for Multiparty Session Types
    Yoshida, Nobuko
    Zhou, Fangyi
    Ferreira, Francisco
    [J]. FUNDAMENTALS OF COMPUTATION THEORY, FCT 2021, 2021, 12867 : 18 - 35
  • [44] Asynchronous session types and progress for object oriented languages
    Coppo, Mario
    Dezani-Ciancaglini, Mariangiola
    Yoshida, Nobuko
    [J]. FORMAL METHODS FOR OPEN OBJECT-BASED DISTRIBUTED SYSTEMS, PROCEEDINGS, 2007, 4468 : 1 - +
  • [45] MULTIPARTY SESSION ACTORS
    Neykova, Rumyana
    Yoshida, Nobuko
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2017, 13 (01)
  • [46] Multiparty Session Actors
    Neykova, Rumyana
    Yoshida, Nobuko
    [J]. COORDINATION MODELS AND LANGUAGES, COORDINATION 2014, 2014, 8459 : 131 - 146
  • [47] Multiparty Session Actors
    Neykova, Rumyana
    Yoshida, Nobuko
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2014, (155): : 32 - 37
  • [48] Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint Projection
    Gheri, Lorenzo
    Yoshida, Nobuko
    [J]. Proceedings of the ACM on Programming Languages, 2023, 7 (OOPSLA1)
  • [49] Practical interruptible conversations: distributed dynamic verification with multiparty session types and Python
    Romain Demangeon
    Kohei Honda
    Raymond Hu
    Rumyana Neykova
    Nobuko Yoshida
    [J]. Formal Methods in System Design, 2015, 46 : 197 - 225
  • [50] 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