Back to Search
Start Over
Safe session-based asynchronous coordination in rust
- Source :
- Coordination 2021, Lecture Notes in Computer Science, 23th International Conference on Coordination Languages and Models (COORDINATION), 23th International Conference on Coordination Languages and Models (COORDINATION), Jun 2021, Valletta, Malta. pp.80-89, ⟨10.1007/978-3-030-78142-2_5⟩, Lecture Notes in Computer Science ISBN: 9783030781415, COORDINATION
- Publication Year :
- 2021
- Publisher :
- Springer Verlag, 2021.
-
Abstract
- Part 2: Communications: Types and Implemenations; International audience; Rust is a popular systems language focused on performance and reliability, with an emphasis on providing “fearless concurrency”. Message passing has become a widely-used pattern by Rust developers although the potential for communication errors leaves developing safe and concurrent applications an unsolved challenge. In this ongoing work, we use multiparty session types to provide safety guarantees such as deadlock-freedom by coordinating message-passing processes. In contrast to previous contributions [20–22], our implementation targets asynchronous applications using / code in Rust. Specifically, we incorporate asynchronous subtyping theory, which allows program optimisation through reordering input and output actions. We evaluate our ideas by developing several representative use cases from the literature and by taking microbenchmarks. We discuss our plans to support full API generation integrating asynchronous optimisations.
- Subjects :
- Computer science
Reliability (computer networking)
Concurrency
Session types
0102 computer and information sciences
02 engineering and technology
01 natural sciences
[INFO.INFO-NI]Computer Science [cs]/Networking and Internet Architecture [cs.NI]
Deadlock-freedom
0202 electrical engineering, electronic engineering, information engineering
Code (cryptography)
Use case
[INFO]Computer Science [cs]
Artificial Intelligence & Image Processing
Session (computer science)
computer.programming_language
business.industry
Message passing
020207 software engineering
010201 computation theory & mathematics
Asynchronous communication
Rust
Software engineering
business
computer
Rust (programming language)
Subjects
Details
- ISBN :
- 978-3-030-78141-5
- ISBNs :
- 9783030781415
- Database :
- OpenAIRE
- Journal :
- Coordination 2021, Lecture Notes in Computer Science, 23th International Conference on Coordination Languages and Models (COORDINATION), 23th International Conference on Coordination Languages and Models (COORDINATION), Jun 2021, Valletta, Malta. pp.80-89, ⟨10.1007/978-3-030-78142-2_5⟩, Lecture Notes in Computer Science ISBN: 9783030781415, COORDINATION
- Accession number :
- edsair.doi.dedup.....3d725e09981a490e31ec18376c74290c
- Full Text :
- https://doi.org/10.1007/978-3-030-78142-2_5⟩