Isolation in Rust

Autor: Anton Burtsev, Gerd Zellweger, Zhaofeng Li, Dan Appel, Vikram Narayanan, Tianjiao Huang, David Detweiler
Rok vydání: 2021
Předmět:
Zdroj: PLOS@SOSP
Popis: Rust is the first practical programming language that has the potential to provide fine-grained isolation of untrusted computations at the language level. A combination of zero-overhead safety, i.e., safety without a managed runtime and garbage collection, and a unique ownership discipline enable isolation in systems with tight performance budgets, e.g., databases, network processing frameworks, browsers, and even operating system kernels. Unfortunately, Rust was not designed with isolation in mind. Today, implementing isolation in Rust is possible but requires complex, ad hoc, and arguably error-prone mechanisms to enforce it outside of the language. We examine several recent systems that implement isolation in Rust but struggle with the shortcomings of the language. As a result of our analysis we identify a collection of mechanisms that can enable isolation as a first class citizen in the Rust ecosystem and suggest directions for implementing them.
Databáze: OpenAIRE