A distributed object-oriented language with session types

  • Authors:
  • Mariangiola Dezani-Ciancaglini;Nobuko Yoshida;Alexander Ahern;Sophia Drossopoulou

  • Affiliations:
  • Dipartimento di Informatica, Università di Torino;Department of Computing, Imperial College London;Department of Computing, Imperial College London;Department of Computing, Imperial College London

  • Venue:
  • TGC'05 Proceedings of the 1st international conference on Trustworthy global computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

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 deadlockfreedom of their protocols. This paper proposes the language Ldoos, a simple distributed object-oriented language augmented with session communication primitives and types. Ldoos 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 Ldoos 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.