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 条
  • [31] FTMPST: FAULT-TOLERANT MULTIPARTY SESSION TYPES
    Peters, Kirstin
    Nestmann, Uwe
    Wagner, Christoph
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2023, 19 (04) : 1 - 39
  • [32] Multiparty-session-types Coordination for Core Erlang
    Egidi, Lavinia
    Giannini, Paola
    Ventura, Lorenzo
    [J]. PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2022, : 532 - 541
  • [33] On Projections of Global Types in Partially Commutative Multiparty Asynchronous Sessions
    Yang, Zhenguo
    Zhong, Farong
    Zhang, Jinfang
    [J]. 2012 13TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS, AND TECHNOLOGIES (PDCAT 2012), 2012, : 563 - 568
  • [34] Global Types and Event Structure Semantics for Asynchronous Multiparty Sessions
    Castellani, Ilaria
    Dezani-Ciancaglini, Mariangiola
    Giannini, Paola
    [J]. FUNDAMENTA INFORMATICAE, 2024, 192 (01) : 1 - 75
  • [35] Global Types and Event Structure Semantics for Asynchronous Multiparty Sessions
    Castellani, Ilaria
    Dezani-Ciancaglini, Mariangiola
    Giannini, Paola
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2022, (365):
  • [36] Linear type theory for asynchronous session types
    Gay, Simon J.
    Vasconcelos, Vasco T.
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2010, 20 : 19 - 50
  • [37] Trustworthy Pervasive Healthcare Services via Multiparty Session Types
    Henriksen, Anders S.
    Nielsen, Lasse
    Hildebrandt, Thomas T.
    Yoshida, Nobuko
    Henglein, Fritz
    [J]. FOUNDATIONS OF HEALTH INFORMATION ENGINEERING AND SYSTEMS (FHIES 2012), 2013, 7789 : 124 - 141
  • [38] Multiparty Session Types Within a Canonical Binary Theory, and Beyond
    Caires, Luis
    Perez, Jorge A.
    [J]. FORMAL TECHNIQUES FOR DISTRIBUTED OBJECTS, COMPONENTS, AND SYSTEMS (FORTE 2016), 2016, 9688 : 74 - 95
  • [39] Multiparty Compatibility in Communicating Automata: Characterisation and Synthesis of Global Session Types
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    [J]. AUTOMATA, LANGUAGES, AND PROGRAMMING, PT II, 2013, 7966 : 174 - 186
  • [40] Resource Sharing via Capability-Based Multiparty Session Types
    Voinea, A. Laura
    Dardha, Ornela
    Gay, Simon J.
    [J]. INTEGRATED FORMAL METHODS, IFM 2019, 2019, 11918 : 437 - 455