RustBelt Meets Relaxed Memory - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2020

RustBelt Meets Relaxed Memory

Résumé

The Rust programming language supports safe systems programming by means of a strong ownership-tracking type system. In their prior work on RustBelt, Jung et al. began the task of setting Rust’s safety claims on a more rigorous formal foundation. Specifically, they used Iris, a Coq-based separation logic framework, to build a machine-checked proof of semantic soundness for a λ-calculus model of Rust, as well as for a number of widely-used Rust libraries that internally employ unsafe language features. However, they also made the significant simplifying assumption that the language is sequentially consistent. In this paper, we adapt RustBelt to account for the relaxed-memory operations that concurrent Rust libraries actually use, in the process uncovering a data race in the Arc library. We focus on the most interesting technical problem: how to reason about resource reclamation under relaxed memory, using a logical construction we call synchronized ghost state.
Fichier principal
Vignette du fichier
paper.pdf (948.9 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-02351793 , version 1 (13-11-2019)

Identifiants

Citer

Hoang-Hai Dang, Jacques-Henri Jourdan, Jan-Oliver Kaiser, Derek Dreyer. RustBelt Meets Relaxed Memory. POPL, Jan 2020, New Orleans, United States. ⟨10.1145/3371101⟩. ⟨hal-02351793⟩
147 Consultations
78 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More