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 条
  • [21] Abstract Machine for Operational Semantics of Domain-Specific Language
    Steingartner, William
    Baranik, Robert
    Novitzka, Valerie
    NEW TRENDS IN DATABASE AND INFORMATION SYSTEMS, ADBIS 2022, 2022, 1652 : 413 - 424
  • [22] Compiler Module of Abstract Machine Code for Formal Semantics Course
    Steingartner, William
    2021 IEEE 19TH WORLD SYMPOSIUM ON APPLIED MACHINE INTELLIGENCE AND INFORMATICS (SAMI 2021), 2021, : 193 - 199
  • [23] A Calculus for Interaction Nets Based on the Linear Chemical Abstract Machine
    Mackie, Ian
    Sato, Shinya
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 192 (03) : 59 - 70
  • [24] An Abstract State Machine (ASM) Representation of Learning Process in FLOSS Communities
    Mukala, Patrick
    Cerone, Antonio
    Turini, Franco
    SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2014, 2015, 8938 : 227 - 242
  • [25] Polymorphic lambda calculus with context-free session types
    Almeida, Bernardo
    Mordido, Andreia
    Thiemann, Peter
    Vasconcelos, Vasco T.
    INFORMATION AND COMPUTATION, 2022, 289
  • [26] Session types revisited
    Dardha, Ornela
    Giachino, Elena
    Sangiorgi, David
    INFORMATION AND COMPUTATION, 2017, 256 : 253 - 286
  • [27] APPLICATION OF AN ABSTRACT MACHINE SUPPORTING FAULT-TOLERANCE IN A PARALLEL DATABASE SERVER
    TORBJORNSEN, O
    HVASSHOVD, SO
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 1994, 9 (02): : 134 - 141
  • [28] AMPPERE: A Universal Abstract Machine for Privacy-Preserving Entity Resolution Evaluation
    Yao, Yixiang
    Ghai, Tanmay
    Ravi, Srivatsan
    Szekely, Pedro
    PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, CIKM 2021, 2021, : 2394 - 2403
  • [29] Multiparty asynchronous session types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    ACM SIGPLAN NOTICES, 2008, 43 (01) : 273 - 284
  • [30] A Decade of Dependent Session Types
    Toninho, Bernardo
    Caires, Luis
    Pfenning, Frank
    PROCEEDINGS OF THE 23RD INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2021, 2021,