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 条
  • [31] Multiparty Asynchronous Session Types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    JOURNAL OF THE ACM, 2016, 63 (01)
  • [32] MODULAR SESSION TYPES FOR OBJECTS
    Gay, Simon J.
    Gesbert, Nils
    Ravara, Antonio
    Vasconcelos, Vasco T.
    LOGICAL METHODS IN COMPUTER SCIENCE, 2015, 11 (04)
  • [33] Embedding Session Types in Haskell
    Lindley, Sam
    Morris, J. Garrett
    ACM SIGPLAN NOTICES, 2016, 51 (12) : 133 - 145
  • [34] On the Preciseness of Subtyping in Session Types
    Chen, Tzu-Chun
    Dezani-Ciancaglini, Mariangiola
    Yoshida, Nobuko
    PPDP'14: PROCEEDINGS OF THE 16TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2014, : 135 - 146
  • [35] CONTEMPORARY CLIMATE CHANGE ART AS THE ABSTRACT MACHINE: ETHICO-AESTHETICS AND FUTURES ORIENTATION
    Taplin, Roslyn
    LEONARDO, 2014, 47 (05) : 509 - 510
  • [36] Exploiting an abstract-machine-based framework in the design of a Java']Java ILP processor
    Wang, H. C.
    Yuen, C. K.
    JOURNAL OF SYSTEMS ARCHITECTURE, 2009, 55 (01) : 53 - 60
  • [37] Abstract Processes in Orchestration Languages
    Buscemi, Maria Grazia
    Melgratti, Hernan
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2009, 5502 : 301 - 315
  • [38] Functions as Session-Typed Processes
    Toninho, Bernardo
    Caires, Luis
    Pfenning, Frank
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATIONAL STRUCTURES, FOSSACS 2012, 2012, 7213 : 346 - 360
  • [39] A Session Type System with Subject Reduction
    Imai, Keigo
    Yuen, Shoji
    Agusa, Kiyoshi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2012, E95D (08): : 2053 - 2064
  • [40] A simple view of multiparty session types
    Castellani, Ilaria
    26TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2024, 2024,