Foundations of Session Types

被引:48
|
作者
Castagna, Giuseppe [1 ]
Dezani-Ciancaglini, Mariangiola
Giachino, Elena [1 ]
Padovani, Luca
机构
[1] Univ Paris 07, PPS CNRS, Paris, France
来源
PPDP'09: PROCEEDINGS OF THE 11TH INTERNATIONAL ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING | 2009年
关键词
Concurrency; Communication Centered Programming; Sessions Types; Testing Equivalencies; Semantic Subtyping; PI-CALCULUS; LANGUAGES; PROGRESS;
D O I
10.1145/1599410.1599437
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a streamlined theory of session types based on a simple yet general and expressive formalism whose main features are semantically characterized and where each design choice is semantically justified. We formally define the semantics of session types and use it to devise the subsessioning relation. We give a coinductive characterization of subsessioning and describe algorithms to decide all the key relations defined in the article. We demonstrate the generality and expressive power of our framework by providing a session-based type system for a pi-calculus variant that does not rely on any specialized construct for session-based communication. The type system is shown to guarantee absence of communication errors and global progress.
引用
收藏
页码:219 / 230
页数:12
相关论文
共 50 条
  • [21] Foundations for virtual types
    Igarashi, A
    Pierce, BC
    INFORMATION AND COMPUTATION, 2002, 175 (01) : 34 - 49
  • [22] Foundations for virtual types
    Igarashi, A
    Pierce, BC
    ECOOP'99 - OBJECT-ORIENTED PROGRAMMING, 1999, 1628 : 161 - 185
  • [23] Parameterised Multiparty Session Types
    Yoshida, Nobuko
    Denielou, Pierre-Malo
    Bejleri, Andi
    Hu, Raymond
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATIONAL STRUCTURES, PROCEEDINGS, 2010, 6014 : 128 - 145
  • [24] Session types for functional multithreading
    Vasconcelos, V
    Ravara, A
    Gay, S
    CONCUR 2004 - CONCURRENCY THEORY, PROCEEDINGS, 2004, 3170 : 497 - 511
  • [25] On session types and polynomial time
    Dal Lago, Ugo
    Di Giamberardino, Paolo
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2016, 26 (08) : 1433 - 1458
  • [26] Structuring Communication with Session Types
    Honda, Kohei
    Hu, Raymond
    Neykova, Rumyana
    Chen, Tzu-Chun
    Demangeon, Romain
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    CONCURRENT OBJECTS AND BEYOND: PAPERS DEDICATED TO AKINORI YONEZAWA ON THE OCCASION OF HIS 65TH BIRTHDAY, 2014, 8665 : 105 - 127
  • [27] Characteristic Formulae for Session Types
    Lange, Julien
    Yoshida, Nobuko
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS (TACAS 2016), 2016, 9636 : 833 - 850
  • [28] Session Types and Distributed Computing
    Honda, Kohei
    AUTOMATA, LANGUAGES, AND PROGRAMMING, ICALP 2012, PT II, 2012, 7392 : 23 - 23
  • [29] MODULAR SESSION TYPES FOR OBJECTS
    Gay, Simon J.
    Gesbert, Nils
    Ravara, Antonio
    Vasconcelos, Vasco T.
    LOGICAL METHODS IN COMPUTER SCIENCE, 2015, 11 (04)
  • [30] Exceptional Asynchronous Session Types
    Fowler, Simon
    Lindley, Sam
    Morris, J. Garrett
    Decova, Sara
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (POPL):