MobilityReadingGroup

π-calculus, Session Types research at Imperial College

Objects and session types
Mariangiola DEZANI-CIANCAGLINI , Sophia DROSSOPOULOU , Dimitris MOSTROUS , Nobuko YOSHIDA
Information and Computation (IC 2009) p. 595 - 641

A session takes place between two parties; after establishing a connection, each party interleaves local computations and communications (sending or receiving) with the other. Session types characterise such sessions in terms of the types of values communicated and the shape of protocols, and have been developed for the π-calculus, CORBA interfaces, and functional languages. We study the incorporation of session types into object-oriented languages through MOOSE, a multi-threaded language with session types, thread spawning, iterative, and higher-order sessions. Our design aims to consistently integrate the object-oriented programming style and sessions, and to be able to treat various case studies from the literature. We describe the design of MOOSE, its syntax, operational semantics, and type system, and develop a type inference system. After proving subject reduction, we establish the progress property: once a communication has been established, well-typed programs will never starve at communication points.

@inproceedings{DDMY2009,
  author = {Mariangiola Dezani-Ciancaglini and Sophia Drossopoulou and Dimitris Mostrous and Nobuko Yoshida},
  title = {{Objects and session types}},
  booktitle = {Information and Computation},
  volume = {207},
  issue = {5},
  pages = {595--641},
  publisher = {Elsevier},
  year = 2009
}
@inproceedings{DDMY2009,
  author = {Mariangiola Dezani-Ciancaglini and Sophia Drossopoulou and Dimitris Mostrous and Nobuko Yoshida},
  title = {{Objects and session types}},
  booktitle = {Information and Computation},
  volume = {207},
  issue = {5},
  pages = {595--641},
  publisher = {Elsevier},
  doi = "10.1016/j.ic.2008.03.028",
  year = 2009
}