A distributed object-oriented language with session types

被引:0
|
作者
Dezani-Ciancaglini, M [1 ]
Yoshida, N [1 ]
Ahern, A [1 ]
Drossopoulou, S [1 ]
机构
[1] Univ Turin, Dipartimento Informat, I-10149 Turin, Italy
来源
TRUSTWORTHY GLOBAL COMPUTING | 2005年 / 3705卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In the age of the world-wide web and mobile computing, programming communication-centric software is essential. Thus, programmers and program designers are exposed to new levels of complexity, such as ensuring the correct composition of communication behaviours and guaranteeing deadlock-freedom of their protocols. This paper proposes the language L-doos, a simple distributed object-oriented language augmented with session communication primitives and types. L-doos provides a flexible object-oriented programming style for structural interaction protocols by prescribing channel usages within signatures of distributed classes. We develop a typing system for L-doos and prove its soundness with respect to the operational semantics. We also show that in a well-typed Ldoos program, there will never be a connection error, a communication error, nor an incorrect completion between server-client interactions. These results demonstrate that a consistent integration of object-oriented language features and session types can statically check the consistent composition of communication protocols.
引用
收藏
页码:299 / 318
页数:20
相关论文
共 50 条
  • [1] Modular Session Types for Distributed Object-Oriented Programming
    Gay, Simon J.
    Vasconcelos, Vasco T.
    Ravara, Antonio
    Gesbert, Nils
    Caldeira, Alexandre Z.
    POPL'10: PROCEEDINGS OF THE 37TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2010, : 299 - 312
  • [2] Modular Session Types for Distributed Object-Oriented Programming
    Gay, Simon J.
    Vasconcclos, Vasco T.
    Ravara, Antonio
    Gesbert, Nils
    Caldeira, Alexandre Z.
    ACM SIGPLAN NOTICES, 2010, 45 (01) : 299 - 312
  • [3] Session types for object-oriented languages
    Dezani-Ciancaglini, Mariangiola
    Mostrous, Dimitris
    Yoshida, Nobuko
    Drossopoulou, Sophia
    ECOOP 2006 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2006, 4067 : 328 - 352
  • [4] THE DOWL DISTRIBUTED OBJECT-ORIENTED LANGUAGE
    ACHAUER, B
    COMMUNICATIONS OF THE ACM, 1993, 36 (09) : 48 - 55
  • [5] Location Types for Safe Distributed Object-Oriented Programming
    Welsch, Yannick
    Schaefer, Jan
    OBJECTS, MODELS, COMPONENTS, PATTERNS, TOOLS 2011, 2011, 6705 : 194 - 210
  • [6] Location types for safe distributed object-oriented programming
    Welsch, Yannick
    Schäfer, Jan
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2011, 6705 LNCS : 194 - 210
  • [7] Support for value types in an object-oriented programming language
    Ritterbach, B
    OBJECT-ORIENTED AND INTERNET-BASED TECHNOLOGIES, PROCEEDINGS, 2004, 3263 : 9 - 23
  • [8] AN OBJECT-ORIENTED PROGRAMMING LANGUAGE FOR DEVELOPING DISTRIBUTED SOFTWARE
    SHANG, LJ
    SUN, ZX
    SIGPLAN NOTICES, 1987, 22 (08): : 51 - 56
  • [9] AN OBJECT-ORIENTED PROGRAMMING LANGUAGE FOR DISTRIBUTED SYSTEMS - HERAKLIT
    HINDEL, B
    SIGPLAN NOTICES, 1989, 24 (04): : 114 - 116
  • [10] AN OBJECT-ORIENTED LANGUAGE FOR DISTRIBUTED ARTIFICIAL-INTELLIGENCE
    ADORNI, G
    POGGI, A
    INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1993, 38 (03): : 435 - 453