Session types for rust

Thomas Bracht Laumann Jespersen, Philip Munksgaard, Ken Friis Larsen

25 Citationer (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.

OriginalsprogEngelsk
TitelProceedings of the 11th ACM SIGPLAN Workshop on Generic Programming : WGP 2015
Antal sider10
ForlagAssociation for Computing Machinery
Publikationsdato30 aug. 2015
Sider13-22
ISBN (Trykt)978-1-4503-3810-3
DOI
StatusUdgivet - 30 aug. 2015
BegivenhedACM SIGPLAN Workshop on Generic Programming 2015 - Vancouver, British Columbia, Canada
Varighed: 31 aug. 20152 sep. 2015
Konferencens nummer: 11

Konference

KonferenceACM SIGPLAN Workshop on Generic Programming 2015
Nummer11
Land/OmrådeCanada
ByVancouver, British Columbia
Periode31/08/201502/09/2015

Emneord

  • Rust, Session types, concurrency, generic types

Fingeraftryk

Dyk ned i forskningsemnerne om 'Session types for rust'. Sammen danner de et unikt fingeraftryk.

Citationsformater