English

Session Types with Runtime Adaptation: Overview and Examples

Programming Languages 2013-12-11 v1 Logic in Computer Science

Abstract

In recent work, we have developed a session types discipline for a calculus that features the usual constructs for session establishment and communication, but also two novel constructs that enable communicating processes to be stopped, duplicated, or discarded at runtime. The aim is to understand whether known techniques for the static analysis of structured communications scale up to the challenging context of context-aware, adaptable distributed systems, in which disciplined interaction and runtime adaptation are intertwined concerns. In this short note, we summarize the main features of our session-typed framework with runtime adaptation, and recall its basic correctness properties. We illustrate our framework by means of examples. In particular, we present a session representation of supervision trees, a mechanism for enforcing fault-tolerant applications in the Erlang language.

Keywords

Cite

@article{arxiv.1312.2699,
  title  = {Session Types with Runtime Adaptation: Overview and Examples},
  author = {Cinzia Di Giusto and Jorge A. Pérez},
  journal= {arXiv preprint arXiv:1312.2699},
  year   = {2013}
}

Comments

In Proceedings PLACES 2013, arXiv:1312.2218

R2 v1 2026-06-22T02:24:22.135Z