The Session Abstract Machine

被引:1
作者
Caires, Luis [1 ]
Toninho, Bernardo [2 ]
机构
[1] Tecnico Lisboa, INESC ID, Lisbon, Portugal
[2] NOVA FCT, NOVA LINCS, Lisbon, Portugal
来源
PROGRAMMING LANGUAGES AND SYSTEMS, PT I, ESOP 2024 | 2024年 / 14576卷
关键词
Abstract machine; Session Types; Linear Logic; PI-CALCULUS; PROPOSITIONS; LANGUAGE;
D O I
10.1007/978-3-031-57262-3_9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We build on a fine-grained analysis of session-based interaction as provided by the linear logic typing disciplines to introduce the SAM, an abstract machine for mechanically executing session-typed processes. A remarkable feature of the SAM's design is its ability to naturally segregate and coordinate sequential with concurrent session behaviours. In particular, implicitly sequential parts of session programs may be efficiently executed by deterministic sequential application of SAM transitions, amenable to compilation, and without concurrent synchronisation mechanisms. We provide an intuitive discussion of the SAM structure and its underlying design, and state and prove its correctness for executing programs in a session calculus corresponding to full classical linear logic CLL. We also discuss extensions and applications of the SAM to the execution of linear and session-based programming languages.
引用
收藏
页码:206 / 235
页数:30
相关论文
共 50 条
  • [41] Haskell Session Types with (Almost) No Class
    Pucella, Riccardo
    Tov, Jesse A.
    ACM SIGPLAN NOTICES, 2009, 44 (02) : 25 - 36
  • [42] A logical account of subtyping for session types
    Horne, Ross
    Padovani, Luca
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2024, 141
  • [43] An Improved Abstract State Machine Based Choreography Specification and Execution Algorithm for Semantic Web Services
    Ataee, Shahin Mehdipour
    Bayram, Zeki
    SCIENTIFIC PROGRAMMING, 2018, 2018
  • [44] Exploring the Process and Strategies of Chinese-English Abstract Writing Using Machine Translation Tools
    Sun, Yu-Chih
    Yang, Fang-Ying
    JOURNAL OF SCHOLARLY PUBLISHING, 2023, 54 (02) : 260 - 289
  • [45] Interconnectability of Session-Based Logical Processes
    Toninho, Bernardo
    Yoshida, Nobuko
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2018, 40 (04):
  • [46] A Calculus of Global Interaction based on Session Types
    Carbone, Marco
    Honda, Kohei
    Yoshida, Nobuko
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 171 (03) : 127 - 151
  • [47] Parallel Complexity Analysis with Temporal Session Types
    Das, Ankush
    Hoffmann, Jan
    Pfenning, Frank
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [48] Parallel Complexity Analysis with Temporal Session Types
    Das, Ankush
    Hoffmann, Jan
    Pfenning, Frank
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES, 2018,
  • [49] On the Preciseness of Subtyping in Session Types: 10 Years Later
    Chen, Tzu-Chun
    Dezani-Ciancaglini, Mariangiola
    Yoshida, Nobuko
    26TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2024, 2024,
  • [50] Deadlock-Free Session Types in Linear Haskell
    Kokke, Wen
    Dardha, Ornela
    HASKELL '21: PROCEEDINGS OF THE 14TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON HASKELL, 2021, : 1 - 13