ECOOP 2020
Sun 15 - Tue 17 November 2020 Online Conference
co-located with SPLASH 2020
Mon 16 Nov 2020 05:40 - 06:00 at OOPSLA/ECOOP - S-6
Sun 15 Nov 2020 17:40 - 18:00 at OOPSLA/ECOOP - S-6

Multiparty Session Types (MPST) is a typing discipline for communication protocols. It ensures the absence of communication errors and deadlocks for well-typed communicating processes. The state of the art implementations of the MPST theory rely on (1) runtime linearity checks to ensure correct usage of communication channels and (2) external domain-specific languages for specifying and verifying of multiparty protocols.

To overcome these limitations, we propose a library for programming with global combinators – a set of functions for writing and verifying multiparty protocols in OCaml. Local behaviours for all processes in a protocol are inferred at once from a global combinator. We formalise global combinators and prove a sound realisability of global combinators – a well-typed global combinator derives a set of local types, by which typed endpoint programs can ensure type and communication safety. Our approach enables fully-static verification and implementation of the whole protocol, from the protocol specification to the process implementations, to happen in the same language.

We compare our implementation to untyped and continuation-passing style implementations, and demonstrate its expressiveness by implementing a plethora of protocols. We show our library can interoperate with existing libraries and services, implementing DNS (Domain Name Service) protocol and the OAuth (Open Authentication) protocol.

Sun 15 Nov
Times are displayed in time zone: (GMT-05:00) Central Time (US & Canada) change

17:00 - 18:20: S-6Research Papers at OOPSLA/ECOOP +12h
17:00 - 17:20
Talk
Research Papers
Julia GabetImperial College London, Nobuko YoshidaImperial College London
17:20 - 17:40
Talk
Research Papers
Vlastimil DortCharles University, Ondřej LhotákUniversity of Waterloo
17:40 - 18:00
Talk
Research Papers
Keigo ImaiGifu University, Rumyana NeykovaBrunel University London, Nobuko YoshidaImperial College London, Shoji YuenNagoya University
18:00 - 18:20
Talk
Research Papers
Abel NietoAarhus University, Yaoyu ZhaoUniversity of Waterloo, Ondřej LhotákUniversity of Waterloo, Angela ChangUniversity of Waterloo, Justin PuUniversity of Waterloo
Pre-print

Mon 16 Nov
Times are displayed in time zone: (GMT-05:00) Central Time (US & Canada) change

05:00 - 06:20: S-6Research Papers at OOPSLA/ECOOP
05:00 - 05:20
Talk
Research Papers
Julia GabetImperial College London, Nobuko YoshidaImperial College London
05:20 - 05:40
Talk
Research Papers
Vlastimil DortCharles University, Ondřej LhotákUniversity of Waterloo
05:40 - 06:00
Talk
Research Papers
Keigo ImaiGifu University, Rumyana NeykovaBrunel University London, Nobuko YoshidaImperial College London, Shoji YuenNagoya University
06:00 - 06:20
Talk
Research Papers
Abel NietoAarhus University, Yaoyu ZhaoUniversity of Waterloo, Ondřej LhotákUniversity of Waterloo, Angela ChangUniversity of Waterloo, Justin PuUniversity of Waterloo
Pre-print