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 条
  • [31] Synchronous Multiparty Session Types
    Bejleri, Andi
    Yoshida, Nobuko
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 241 : 3 - 33
  • [32] Linearly Refined Session Types
    Baltazar, Pedro
    Mostrous, Dimitris
    Vasconcelos, Vasco T.
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (101): : 38 - 49
  • [33] Session types for orchestration charts
    Fantechi, Alessandro
    Najm, Elie
    COORDINATION MODELS AND LANGUAGES, PROCEEDINGS, 2008, 5052 : 117 - +
  • [34] Minimal session types for the π-calculus
    Arslanagic, Alen
    Perez, Jorge A.
    Palamariuc, Anda-Amelia
    INFORMATION AND COMPUTATION, 2024, 297
  • [35] Hybrid Multiparty Session Types
    Gheri, Lorenzo
    Yoshida, Nobuko
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA):
  • [36] Multiparty asynchronous session types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    ACM SIGPLAN NOTICES, 2008, 43 (01) : 273 - 284
  • [37] Minimal Session Types for the π-calculus
    Arslanagic, Alen
    Palamariuc, Anda-Amelia
    Perez, Jorge A.
    PROCEEDINGS OF THE 23RD INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2021, 2021,
  • [38] Sessions and Session Types: An Overview
    Dezani-Ciancaglini, Mariangiola
    de'Liguoro, Ugo
    WEB SERVICES AND FORMAL METHODS, 2010, 6194 : 1 - 28
  • [39] Session Types in Abelian Logic
    Hirai, Yoichi
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (137): : 33 - 52
  • [40] Dynamic Multirole Session Types
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    POPL 11: PROCEEDINGS OF THE 38TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2011, : 435 - 446