X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/ee9c97370dcef517e186a1acf610421a1ef70fa4..7038156c40619e644a3cfb3df5394d0b4ba97c65:/research/thesis.html?ds=inline diff --git a/research/thesis.html b/research/thesis.html index 2510b23..5efaad2 100644 --- a/research/thesis.html +++ b/research/thesis.html @@ -3,4 +3,31 @@ title: Understanding and Evolving the Rust Programming Language slug: Thesis --- -This is where my PhD thesis will be made available. +PhD Thesis, Defended in August 2020 + + +

Abstract

+ +

Rust is a young systems programming language that aims to fill the gap between high-level languages—which provide strong static guarantees like memory and thread safety—and low-level languages—which give the programmer fine-grained control over data layout and memory management. This dissertation presents two projects establishing the first formal foundations for Rust, enabling us to better understand and evolve this important language: RustBelt and Stacked Borrows.

+ +

RustBelt is a formal model of Rust’s type system, together with a soundness proof establishing memory and thread safety. The model is designed to verify the safety of a number of intricate APIs from the Rust standard library, despite the fact that the implementations of these APIs use unsafe language features.

+ +

Stacked Borrows is a proposed extension of the Rust specification, which enables the compiler to use the strong aliasing information in Rust’s types to better analyze and optimize the code it is compiling. The adequacy of this specification is evaluated not only formally, but also by running real Rust code in an instrumented version of Rust’s Miri interpreter that implements the Stacked Borrows semantics.

+ +

RustBelt is built on top of Iris, a language-agnostic framework, implemented in the Coq proof assistant, for building higher-order concurrent separation logics. This dissertation begins by giving an introduction to Iris, and explaining how Iris enables the derivation of complex high-level reasoning principles from a few simple ingredients. In RustBelt, this technique is exploited crucially to introduce the lifetime logic, which provides a novel separation-logic account of borrowing, a key distinguishing feature of the Rust type system.

+ +

+This thesis has received an Honorable Mention for the ACM Doctoral Dissertation Award, +the ACM SIGPLAN John C. Reynolds Doctoral Dissertation Award (as one of two recipients), +an Otto Hahn Medal, +the ETAPS Doctoral Dissertation Award, +and the Saarland University Dr. Eduard Martin-Preis. +

+ +

Download and references

+ +