ConDRust: Scalable Deterministic Concurrency from Verifiable Rust Programs
Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/Gutachten › Beitrag in Konferenzband › Beigetragen › Begutachtung
Beitragende
Abstract
SAT/SMT-solvers and model checkers automate formal verification of sequential programs. Formal reasoning about scalable concurrent programs is still manual and requires expert knowledge. But scalability is a fundamental requirement of current and future programs. Sequential imperative programs compose statements, function/method calls and control flow constructs. Concurrent programming models provide constructs for concurrent composition. Concurrency abstractions such as threads and synchronization primitives such as locks compose the individual parts of a concurrent program that are meant to execute in parallel. We propose to rather compose the individual parts again using sequential composition and compile this sequential composition into a concurrent one. The developer can use existing tools to formally verify the sequential program while the translated concurrent program provides the dearly requested scalability. Following this insight, we present ConDRust, a new programming model and compiler for Rust programs. The ConDRust compiler translates sequential composition into a concurrent composition based on threads and message-passing channels. During compilation, the compiler preserves the semantics of the sequential program along with much desired properties such as determinism. Our evaluation shows that our ConDRust compiler generates concurrent deterministic code that can outperform even non-deterministic programs by up to a factor of three for irregular algorithms that are particularly hard to parallelize.
Details
Originalsprache | Englisch |
---|---|
Titel | 37th European Conference on Object-Oriented Programming, ECOOP 2023 |
Redakteure/-innen | Karim Ali, Guido Salvaneschi |
Herausgeber (Verlag) | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
ISBN (elektronisch) | 9783959772815 |
Publikationsstatus | Veröffentlicht - Juli 2023 |
Peer-Review-Status | Ja |
Publikationsreihe
Reihe | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|
Band | 263 |
ISSN | 1868-8969 |
Konferenz
Titel | 37th European Conference on Object-Oriented Programming |
---|---|
Kurztitel | ECOOP 2023 |
Veranstaltungsnummer | 37 |
Beschreibung | co-located with ISSTA 2023 |
Dauer | 17 - 21 Juli 2023 |
Webseite | |
Bekanntheitsgrad | Internationale Veranstaltung |
Ort | University of Washington & Online |
Stadt | Seattle |
Land | USA/Vereinigte Staaten |
Externe IDs
ORCID | /0000-0002-5007-445X/work/160049121 |
---|
Schlagworte
ASJC Scopus Sachgebiete
Schlagwörter
- concurrent programming, scalability, verification