Since 2015, Ralf Jung a postdoctoral researcher in Professor Derek Dreyer’s “Foundations of Programming” research group at the Max Planck Institute for Software Systems in Saarbrücken, Germany, has been focusing on the programming language which was originally sponsored by Mozilla.
“Rust was exciting for me because there is a very tempting promise behind it: To be a programming language that enables precise control over a system’s memory usage and resource allocation, while at the same time automatically preventing many widespread programming errors,” Jung said.
“We were able to verify the safety of Rust’s type system and thus show how Rust automatically and reliably prevents entire classes of programming errors,” Jung said.
In doing so, he also successfully addressed a special aspect of the programming language, “The so-called ‘type safety’ goes hand in hand with the fact that Rust imposes restrictions on the programmer and does not allow everything that the programmer wants to do,” Jung said. “Sometimes, however, it is necessary to write an operation into the code that Rust would not accept because of its type safety. This is where a special feature of Rust comes into play: Programmers can mark their code as ‘unsafe’ if they want to achieve something that contradicts the programming language’s safety precautions. Together with international collaborators, including my thesis advisor Derek Dreyer, we developed a theoretical framework that allows us to prove that Rust’s safety claims hold despite the possibility of writing ‘unsafe’ code.”

Ralf Jung is a postdoctoral researcher at the Max Planck Institute for Software Systems and a leading Rust expert.
Source: Timo Mann, MPI-SWS
This proof, called RustBelt, is complemented by Jung with a tool called Miri, with which ‘unsafe’ Rust code can be automatically tested for compliance with important rules of the Rust specification – a basic requirement for correctness and safety of this code.
“While RustBelt was a great success, especially in academic circles, Miri is already established in industry as a tool for security testing of programs written in Rust,” Jung said.
For his dissertation entitled “Understanding and Evolving the Rust Programming Language,” Jung received several national and international awards. Jung’s work received one of two Honorable Mentions for the Dissertation Award of the Association for Computing Machinery (ACM).
The ACM states: “Through Jung’s leadership and active engagement with the Rust Unsafe Code Guidelines working group, his work has already had profound impact on the design of Rust and laid essential foundations for its future.” The ACM Dissertation Award is known internationally for the entire field of computer science and is thus considered to be one of the most prestigious awards for computer science dissertations worldwide.

