Session Typing for a Featherweight Erlang

International audience As software tends to be increasingly concurrent, the paradigm ofmessage passing is becoming more prominent in computing. The language Erlang offers an intuitive and industry-testedimplementation of process-oriented programming, combining pattern-matching with message mailboxes...

Full description

Bibliographic Details
Main Authors: Mostrous, Dimitris, Vasconcelos, Vasco
Other Authors: Technical University of Lisbon, Wolfgang Meuter, Gruia-Catalin Roman, TC 6, WG 6.1
Format: Conference Object
Language:English
Published: HAL CCSD 2011
Subjects:
Online Access:https://hal.inria.fr/hal-01582995
https://hal.inria.fr/hal-01582995/document
https://hal.inria.fr/hal-01582995/file/978-3-642-21464-6_7_Chapter.pdf
https://doi.org/10.1007/978-3-642-21464-6_7
Description
Summary:International audience As software tends to be increasingly concurrent, the paradigm ofmessage passing is becoming more prominent in computing. The language Erlang offers an intuitive and industry-testedimplementation of process-oriented programming, combining pattern-matching with message mailboxes, resulting in concise, elegant programs. However, it lacks a successful static verification mechanism that ensures safety and determinism of communications with respect to well-defined specifications. We present a session typing system for a featherweight Erlang calculus that encompasses the main communication abilities of the language. In this system, structured types are used to govern the interaction of Erlang processes, ensuring that their behaviour is safe with respect to a defined protocol. The expected properties of subject reduction and type safety are established.