Work

Fearless Asynchronous Communications with Timed Session Types in Rust (Artifact)

Year: 2024
Type: article
Abstract: We introduce MultiCrusty^T, a Rust toolchain designed to facilitate the implementation of safe affine timed protocols. MultiCrusty^T leverages generic types and the time library to handle timed communications, integrated with optional types for affinity. This artifact allows to evaluate our approach by running examples from the literature, real-world use cases and protocols from real-time systems, featured in the related article, showcasing the correctness by construction of our approach. We allow to see the performance of our solution by running benchmarks and generating graphs, highlighting a less than 10% compile-time and runtime overhead compared with an untimed implementation. We also demonstrate how to implement, step by step, your own timed protocols, from a very basic one with only two parties and simple interactions, to complex ones with more than three parties, choices and recursion.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W7223729318
FWCI: 0.228
Cites: 1
Cited by: 1
Related to: 9