System Programming in Rust
Authors:
Open Access
- 11 September 2017
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGOPS Operating Systems Review
- Vol. 51 (1) , 94-99
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.Keywords
This publication has 26 references indexed in Scilit:
- Session types for Rust2015
- Rollback-Recovery for Middleboxes2015
- SMACK: Decoupling Source Language Details from Verifier Implementations2014
- Software fault isolation with API integrity and multi-principal modules2011
- Linux kernel vulnerabilities2011
- Concurrent programming with revisions and isolation typesACM SIGPLAN Notices, 2010
- A survey of rollback-recovery protocols in message-passing systemsACM Computing Surveys, 2002
- Alias Types for Recursive Data Structures2001
- The click modular routerACM Transactions on Computer Systems, 2000
- Region-Based Memory ManagementInformation and Computation, 1997