Session types go dynamic or how to verify your Python conversations

7Citations
Citations of this article
7Readers
Mendeley users who have this article in their library.

Abstract

This paper presents the first implementation of session types in a dynamically-typed language - Python. Communication safety of the whole system is guaranteed at runtime by monitors that check the execution traces comply with an associated protocol. Protocols are written in Scribble, a choreography description language based on multiparty session types, with addition of logic formulas for more precise behaviour properties. The presented framework overcomes the limitations of previous works on the session types where all endpoints should be statically typed so that they do not permit interoperability with untyped participants. The advantages, expressiveness and performance of dynamic protocol checking are demonstrated through use case and benchmarks.

Cite

CITATION STYLE

APA

Neykova, R. (2013). Session types go dynamic or how to verify your Python conversations. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 137, pp. 95–102). Open Publishing Association. https://doi.org/10.4204/EPTCS.137.8

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free