Introduction

We explore the superpowers of the Rust programming language that enable safe and efficient system software.

Abstract

Rust is a new system programming language that offers a practical and safe alternative to C. Rust is unique in that it enforces safety without runtime overhead, most importantly, without the overhead of garbage collection. While zero-cost safety is remarkable on its own, we argue that the superpowers of Rust go beyond safety. In particular, Rust's linear type system enables capabilities that cannot be implemented efficiently in traditional languages, both safe and unsafe, and that dramatically improve security and reliability of system software. We show three examples of such capabilities: zero-copy software fault isolation, efficient static information flow analysis, and automatic checkpointing. While these capabilities have been in the spotlight of systems research for a long time, their practical use is hindered by high cost and complexity. We argue that with the adoption of Rust these mechanisms will become commoditized.

Files

Date

May, 2017

Authors

  • Abhiram Balasubramanian
  • Marek S. Baranowski
  • Anton Burtsev
  • Aurojit Panda
  • Zvonimir Rakamarić
  • Leonid Ryzhyk

Type

Inproceedings

Booktitle

HotOS