Gradual session types

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

Abstract

Session types are a rich type discipline, based on linear types, that lifts the sort of safety claims that come with type systems to communications. However, web-based applications and microservices are often written in a mix of languages, with type disciplines in a spectrum between static and dynamic typing. Gradual session types address this mixed setting by providing a framework which grants seamless transition between statically typed handling of sessions and any required degree of dynamic typing. We propose Gradual GV as an extension of the functional session type system GV with dynamic types and casts. We demonstrate type and communication safety as well as blame safety, thus extending previous results to functional languages with session-based communication. The interplay of linearity and dynamic types requires a novel approach to specifying the dynamics of the language.

Cite

CITATION STYLE

APA

Igarashi, A., Thiemann, P., Vasconcelos, V. T., & Wadler, P. (2017). Gradual session types. Proceedings of the ACM on Programming Languages, 1(ICFP). https://doi.org/10.1145/3110282

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