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 条
  • [1] The Linear Logical Abstract Machine
    Bonelli, Eduardo
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 158 (99-121) : 99 - 121
  • [2] Multimedia abstract machine
    Shih, TK
    INFORMATION SCIENCES, 1998, 107 (1-4) : 63 - 84
  • [3] The reflective nitrO abstract machine
    Ortin, F
    Cueva, JM
    Martinez, AB
    ACM SIGPLAN NOTICES, 2003, 38 (06) : 40 - 49
  • [4] Type-Based Analysis for Session Inference (Extended Abstract)
    Spaccasassi, Carlo
    Koutavas, Vasileios
    FORMAL TECHNIQUES FOR DISTRIBUTED OBJECTS, COMPONENTS, AND SYSTEMS (FORTE 2016), 2016, 9688 : 248 - 266
  • [5] THE ABSTRACT MACHINE AND IMPLEMENTATION OF PARALLEL PARLOG
    CRAMMOND, J
    NEW GENERATION COMPUTING, 1992, 10 (04) : 385 - 422
  • [6] An efficient abstract machine for safe ambients
    Hirschkoff, Daniel
    Pous, Damien
    Sangiorgi, Davide
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2007, 71 (02): : 114 - 149
  • [7] An Abstract Machine for the Stochastic Bioambient calculus
    Phillips, Andrew
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 227 : 143 - 159
  • [8] On Polymorphic Sessions and Functions: A Tale of Two (Fully Abstract) Encodings
    Toninho, Bernardo
    Yoshida, Nobuko
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2021, 43 (02):
  • [9] Machine-Checked Semantic Session Typing
    Hinrichsen, Jonas Kastberg
    Louwrink, Daniel
    Krebbers, Robbert
    Bengtson, Jesper
    CPP '21: PROCEEDINGS OF THE 10TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS, 2021, : 178 - 198
  • [10] Safe Ambients: Abstract machine and distributed implementation
    Giannini, P
    Sangiorgi, D
    Valente, A
    SCIENCE OF COMPUTER PROGRAMMING, 2006, 59 (03) : 209 - 249