Session types for rust

Thomas Bracht Laumann Jespersen, Philip Munksgaard, Ken Friis Larsen

25 Citations (Scopus)

Abstract

We present a library for specifying session types implemented in Rust, and discuss practical use cases through examples and demonstrate how session types may be used in a large-scale application. Specifically we adapt parts of the ad-hoc communication patterns in the Servo browser engine to use session typed channels. Session types provide a protocol abstraction, expanding on traditional typed communication channels, to ensure that communication takes place according to a specified protocol. Thus, the library allows us to provide compile-time guarantees of adherence to a specific protocol without incurring significant run-time penalties.

Original languageEnglish
Title of host publicationProceedings of the 11th ACM SIGPLAN Workshop on Generic Programming : WGP 2015
Number of pages10
PublisherAssociation for Computing Machinery
Publication date30 Aug 2015
Pages13-22
ISBN (Print)978-1-4503-3810-3
DOIs
Publication statusPublished - 30 Aug 2015
EventACM SIGPLAN Workshop on Generic Programming 2015 - Vancouver, British Columbia, Canada
Duration: 31 Aug 20152 Sept 2015
Conference number: 11

Conference

ConferenceACM SIGPLAN Workshop on Generic Programming 2015
Number11
Country/TerritoryCanada
CityVancouver, British Columbia
Period31/08/201502/09/2015

Fingerprint

Dive into the research topics of 'Session types for rust'. Together they form a unique fingerprint.

Cite this