Session types are a rich type discipline, based on linear types, that
lift the sort of safety claims that come with type systems to
communications. However, web-based applications and micro services
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 GradualGV 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.
Wed 6 Sep
13:00 - 14:30: Research Papers - Contracts and Sessions at L1 Chair(s): Matthew FlattUniversity of Utah | ||||||||||||||||||||||||||||||||||||||||||
13:00 - 13:22 Talk | DOI | |||||||||||||||||||||||||||||||||||||||||
13:22 - 13:45 Talk | Lucas WayeHarvard University, USA, Christos DimoulasHarvard University, USA, Stephen ChongHarvard University, USA DOI | |||||||||||||||||||||||||||||||||||||||||
13:45 - 14:07 Talk | DOI | |||||||||||||||||||||||||||||||||||||||||
14:07 - 14:30 Talk | Atsushi IgarashiKyoto University, Japan, Peter ThiemannUniversity of Freiburg, Germany, Vasco VasconcelosUniversity of Lisbon, Portugal, Philip WadlerUniversity of Edinburgh, UK DOI |