A capitalized letter R set into a sprocket
The official Rust logo
Designed byGraydon Hoare
First appearedMay 15, 2015; 8 years ago (2015-05-15)
Stable release
1.72.0[1] Edit this on Wikidata / August 24, 2023; 7 days ago (August 24, 2023)
Typing discipline
Implementation languageRust
PlatformCross-platform[note 1]
OSCross-platform[note 2]
LicenseMIT and Apache 2.0[note 3]
Filename, .rlib
Influenced by

Rust is a multi-paradigm, general-purpose programming language that emphasizes performance, type safety, and concurrency. It enforces memory safety—ensuring that all references point to valid memory—without requiring the use of a garbage collector or reference counting present in other memory-safe languages. To simultaneously enforce memory safety and prevent data races, its "borrow checker" tracks the object lifetime of all references in a program during compilation. Rust borrows ideas from functional programming, including static types, immutability, higher-order functions, and algebraic data types. It is popular for systems programming.[12][13][14]

Software developer Graydon Hoare created Rust as a personal project while working at Mozilla Research in 2006. Mozilla officially sponsored the project in 2009. Since the first stable release in May 2015, Rust has been adopted by companies including Amazon, Discord, Dropbox, Facebook (Meta), Google (Alphabet), and Microsoft. In December 2022, it became the first language other than C and assembly to be supported in the development of the Linux kernel.

Rust has been noted for its growth as a newer language[15] and has been the subject of academic programming languages research.[16][17][18]


Mozilla Foundation headquarters in Mountain View, California

Origins (2006–2012)

Rust grew out of a personal project begun in 2006 by Mozilla Research employee Graydon Hoare. Mozilla began sponsoring the project in 2009 as a part of the ongoing development of an experimental browser engine called Servo,[19] which was officially announced by Mozilla in 2010.[20][21] During the same year, work shifted from the initial compiler written in OCaml to a self-hosting compiler based on LLVM written in Rust. The new Rust compiler successfully compiled itself in 2011.[19]

Hoare later said that Rust was named after the rust fungus, with reference to the fungus's hardiness.[22][23]

Evolution (2012–2019)

Rust's type system underwent significant changes between versions 0.2, 0.3, and 0.4. In version 0.2, which was released in March 2012, classes were introduced for the first time.[24] Four months later, version 0.3 added destructors and polymorphism, through the use of interfaces.[25] In October 2012, version 0.4 was released, which added traits as a means of inheritance. Interfaces were combined with traits and removed as a separate feature; and classes were replaced by a combination of implementations and structured types.[26]

Through early 2010s, memory management through the ownership system was gradually consolidated to prevent memory bugs. By 2013, Rust's garbage collector was removed, with the ownership rules in place.[22]

In January 2014, the editor-in-chief of Dr. Dobb's Journal, Andrew Binstock, commented on Rust's chances of becoming a competitor to C++, along with D, Go, and Nim (then Nimrod). According to Binstock, while Rust was "widely viewed as a remarkably elegant language", adoption slowed because it radically changed from version to version.[27] The first stable release, Rust 1.0, was announced on May 15, 2015.[28][29]

The development of the Servo browser engine continued alongside Rust's own growth. In September 2017, Firefox 57 was released as the first version that incorporated components from Servo, in a project named "Firefox Quantum".[30]

Mozilla layoffs and Rust Foundation (2020–present)

In August 2020, Mozilla laid off 250 of its 1,000 employees worldwide, as part of a corporate restructuring caused by the COVID-19 pandemic.[31][32] The team behind Servo was disbanded. The event raised concerns about the future of Rust, as some members of the team were active contributors to Rust.[33] In the following week, the Rust Core Team acknowledged the severe impact of the layoffs and announced that plans for a Rust foundation were underway. The first goal of the foundation would be to take ownership of all trademarks and domain names, and take financial responsibility for their costs.[34]

On February 8, 2021, the formation of the Rust Foundation was announced by its five founding companies (AWS, Huawei, Google, Microsoft, and Mozilla).[35][36] In a blog post published on April 6, 2021, Google announced support for Rust within the Android Open Source Project as an alternative to C/C++.[37][38]

On November 22, 2021, the Moderation Team, which was responsible for enforcing community standards and the Code of Conduct, announced their resignation "in protest of the Core Team placing themselves unaccountable to anyone but themselves."[39] In May 2022, the Rust Core Team, other lead programmers, and certain members of the Rust Foundation board implemented governance reforms in response to the incident.[40]

The Rust Foundation posted a draft for a new trademark policy on April 6, 2023, revising its rules on how the Rust logo and name can be used, which resulted in negative reactions from Rust users and contributors.[41]

Syntax and features

Rust's syntax is similar to that of C and C++,[42][43] although many of its features are more influenced by functional programming languages.[44] It aims to support concurrent systems programming, which has inspired a feature set emphasizing safety, control of memory layout, and concurrency.[45] Safety in Rust includes the guarantees of memory safety, type safety, and lack of data races.

Hello World program

Main article: "Hello, World!" program

Here is a "Hello, World!" program in Rust. The fn keyword denotes a function, and the println! macro prints the message to standard output.[46] Statements in Rust are separated by semicolons.

fn main() {
    println!("Hello, World!");

Keywords and control flow

In Rust, blocks of code are delimited by curly brackets, and control flow is implemented by keywords such as if, else, while, and for.[47] Pattern matching can be done using the match keyword.[48] In the examples below, explanations are given in comments, which start with //.[49]

fn main() {
    // Defining a mutable variable with 'let mut'
    // Using the macro vec! to create a vector
    let mut values = vec![1, 2, 3, 4];

    for value in &values {
        println!("value = {}", value);

    if values.len() > 5 {
        println!("List is longer than five items");

    // Pattern matching
    match values.len() {
        0 => println!("Empty"),
        1 => println!("One value"),
        // pattern matching can use ranges of integers
        2..=10 => println!("Between two and ten values"),
        11 => println!("Eleven values"),
        // A `_` pattern is called a "wildcard", it matches any value
        _ => println!("Many values"),

    // while loop with predicate and pattern matching using let
    while let Some(value) = values.pop() {
        println!("value = {value}"); // using curly braces to format a local variable

Expression blocks

Main article: Expression-oriented programming language

Rust is expression-oriented, with nearly every part of a function body being an expression, including control-flow operators.[50] The ordinary if expression is used instead of C's ternary conditional. With returns being implicit, a function does not need to end with a return expression; if the semicolon is omitted, the value of the last expression in the function is used as the return value,[51] as seen in the following recursive implementation of the factorial function:

fn factorial(i: u64) -> u64 {
    if i == 0 {
    } else {
        i * factorial(i - 1)

The following iterative implementation uses the ..= operator to create an inclusive range:

fn factorial(i: u64) -> u64 {


In Rust, anonymous functions are called closures.[52] They are defined using the following syntax:

|<parameter-name>: <type>| -> <return-type> { <body> };

For example:

let f = |x: i32| -> i32 { x * 2 };

With type inference, however, the compiler is able to infer the type of each parameter and the return type, so the above form can be written as:

let f = |x| { x * 2 };

With closures with a single expression (i.e. a body with one line) and implicit return type, the curly braces may be omitted:

let f = |x| x * 2;

Closures with no input parameter are written like so:

let f = || println!("Hello, world!");

Closures may be passed as input parameters of functions that expect a function pointer:

// A function which takes a function pointer as an argument and calls it with
// the value `5`.
fn apply(f: fn(i32) -> i32) -> i32 {
    // No semicolon, to indicate an implicit return

fn main() {
    // Defining the closure
    let f = |x| x * 2;

    println!("{}", apply(f));  // 10
    println!("{}", f(5));      // 10

However, one may need complex rules to describe how values in the body of the closure are captured. They are implemented using the Fn, FnMut, and FnOnce traits:[53]

  • Fn: the closure captures by reference (&T). They are used for functions that can still be called if they only have reference access (with &) to their environment.
  • FnMut: the closure captures by mutable reference (&mut T). They are used for functions that can be called if they have mutable reference access (with &mut) to their environment.
  • FnOnce: the closure captures by value (T). They are used for functions that are only called once.

With these traits, the compiler will capture variables in the least restrictive manner possible.[53] They help govern how values are moved around between scopes, which is largely important since Rust follows a lifetime construct to ensure values are "borrowed" and moved in a predictable and explicit manner.[54]

The following demonstrates how one may pass a closure as an input parameter using the Fn trait:

// A function that takes a value of type F (which is defined as
// a generic type that implements the `Fn` trait, e.g. a closure)
// and calls it with the value `5`.
fn apply_by_ref<F>(f: F) -> i32
    where F: Fn(i32) -> i32

fn main() {
    let f = |x| {
        println!("I got the value: {}", x);
        x * 2
    // Applies the function before printing its return value
    println!("5 * 2 = {}", apply_by_ref(f));

// ~~ Program output ~~
// I got the value: 5
// 5 * 2 = 10


Rust is strongly typed and statically typed. The types of all variables must be known at compilation time; assigning a value of a particular type to a differently typed variable causes a compilation error. Variables are declared with the keyword let, and type inference is used to determine their type.[55] Variables assigned multiple times must be marked with the keyword mut (short for mutable).[56]

The default integer type is i32, and the default floating point type is f64. If the type of a literal number is not explicitly provided, either it is inferred from the context or the default type is used.[57]

Primitive types

Summary of Rust's Primitive Types
Type Description Examples
bool Boolean value
  • true
  • false
u8 Unsigned 8-bit integer (a byte)
  • i8
  • i16
  • i32
  • i64
  • i128
Signed integers, up to 128 bits
  • u16
  • u32
  • u64
  • u128
Unsigned integers, up to 128 bits
  • usize
  • isize
Pointer-sized integers (size depends on platform)
  • f32
  • f64
Floating-point numbers
str ‘string slice’, is the most primitive string type. It is usually seen in its borrowed form, &str. It is also the type of string literals, &'static str[59]
  • "Hello"
  • "3"
  • "🦀🦀🦀"
[T; N] Array - collection of N objects of the same type T, stored in contiguous memory
  • [2, 4, 6]
  • [0; 100]
  • b"Hello"
[T] Slice - a dynamically-sized view into a contiguous sequence[60]
  • [1, 2, 3, 4, 5][..i]
  • "Hello, world!".as_bytes()
  • let v = vec![1, 2, 3]; v.as_slice()
(T, U, ..)
Tuple - a finite heterogeneous sequence
  • () (An empty tuple, the unit type in Rust)
  • (5,) (if this was (5), it would've been parsed as an integer)
  • ("Age", 10)
  • (1, true, "Name")
! Never type (unreachable value) let x = { return 123 };

Standard library

Summary of Rust's types in the standard library
Type Description Examples
Box<T> A pointer to a heap-allocated value[61]
let boxed: Box<u8> = Box::new(5);
let val: u8 = *boxed;
String Strings (dynamic)
  • String::new()
  • String::from("Hello")
  • "🦀🦀🦀".to_string()
Vec<T> Dynamic arrays
  • Vec::new()
  • vec![1, 2, 3, 4, 5]
Option<T> Option type
  • None
  • Some(3)
  • Some("hello")
Result<T, E> Error handling
  • Result::Ok(3)
  • Result::Err("something went wrong")
Rc<T> Reference counting pointer[62]
let five = Rc::new(5);
let also_five = five.clone();
Arc<T> Thread-safe reference counting pointer[63]
let foo = Arc::new(vec![1.0, 2.0]);
let a = foo.clone(); // a can be sent to another thread
Cell<T> A mutable memory location[64]
let c = Cell::new(5);
Mutex<T> A mutex lock for shared data[65]
let mutex = Mutex::new(0_u32);
let _guard = mutex.lock();
RwLock<T> Readers–writer lock[66]
let lock = RwLock::new(5);
let r1 =;
Condvar A conditional monitor for shared data[67]
 let (lock, cvar) = (Mutex::new(true), Condvar::new());
// As long as the value inside the `Mutex<bool>` is `true`, we wait.
let _guard = cvar.wait_while(lock.lock().unwrap(), |pending| { *pending }).unwrap();
Duration Type that represents a span of time[68]
Duration::from_millis(1) // 1ms
HashMap<K, V> Hash table[69]
let mut player_stats = HashMap::new();
player_stats.insert("damage", 1);
BTreeMap<K, V> B-tree[70]
let mut solar_distance = BTreeMap::from([
    ("Mercury", 0.4),
    ("Venus", 0.7),

Option values are handled using syntactic sugar, such as the if let construction, to access the inner value (in this case, a string):[71]

fn main() {
    let name1: Option<&str> = None;
    // In this case, nothing will be printed out
    if let Some(name) = name1 {

    let name2: Option<&str> = Some("Matthew");
    // In this case, the word "Matthew" will be printed out
    if let Some(name) = name2 {


Summary of Rust's pointer and reference primitive types
Type Description Examples
  • &T
  • &mut T
References (immutable and mutable)
  • let x_ref = &x;
  • let x_ref = &mut x;
  • Option<&T>
  • Option<&mut T>
  • Option wrapped reference
  • Possibly null reference
  • None
  • let x_ref = Some(&x);
  • let x_ref = Some(&mut x);
  • Box<T>
  • Option<Box<T>>
A pointer to heap-allocated value

(or possibly null pointer if wrapped in option)[72]

  • let boxed = Box::new(0);
  • let boxed = Some(Box::new("Hello World"));
  • *const T
  • *mut T
  • let x_ptr = &x as *const T;
  • let x_ptr = &mut x as *mut T;

Rust does not use null pointers to indicate a lack of data, as doing so can lead to null dereferencing. Accordingly, the basic & and &mut references are guaranteed to not be null. Rust instead uses Option for this purpose: Some(T) indicates that a value is present, and None is analogous to the null pointer.[73] Option implements a "null pointer optimization", avoiding any overhead for types that cannot have a null value (references or the NonZero types, for example).

Unlike references, the raw pointer types *const and *mut may be null; however, it is impossible to dereference them unless the code is explicitly declared unsafe through the use of an unsafe block. Unlike dereferencing, the creation of raw pointers is allowed inside of safe Rust code.[74]

User-defined types

User-defined types are created with the struct or enum keywords. The struct keyword is used to denote a record type that groups multiple related values.[75] enums can take on different variants in runtime, with its capabilities similar to algebraic data types found in functional programming languages.[76] Both structs and enums can contain fields with different types.[77] Alternative names for the same type can be defined with the type keyword.[78]

The impl keyword can define methods for a user-defined type (data and functions are defined separately). Implementations fulfill a role similar to that of classes within other languages.[79]

Ownership and lifetimes

Rust's ownership system consists of rules that ensure memory safety without using a garbage collector. At run time, each value must be attached to a variable called the owner of that value, and every value must have exactly one owner.[80] Values are moved between different owners through assignment or passing a value as a function parameter. Values can also be borrowed, meaning they are temporarily passed to a different function before being returned to the owner.[81] With these rules, Rust can prevent the creation and use of dangling pointers:[81][82]

fn print_string(s: String) {
    println!("{}", s);

fn main() {
    let s = String::from("Hello, World");
    print_string(s); // s consumed by print_string
    // s has been moved, so cannot be used any more
    // another print_string(s); would result in a compile error

Because of these ownership rules, Rust types are known as linear or affine types, meaning each value can be used exactly once. This enforces a form of software fault isolation as the owner of a value is solely responsible for its correctness and deallocation.[83]

Lifetimes are usually an implicit part of all reference types in Rust. Each lifetime encompasses a set of locations in the code for which a variable is valid. The borrow checker in the Rust compiler uses lifetimes to ensure that the values a reference points to remain valid. It also ensures that a mutable reference exists only if no immutable references exist at the same time.[84][85] Rust's memory and ownership system was influenced by region-based memory management in languages such as Cyclone and ML Kit.[6]

Rust defines the relationship between the lifetimes of the objects created and used by functions, using lifetime parameters, as a signature feature.[86]

When a stack or temporary variable goes out of scope, it is dropped by running its destructor. The destructor may be programmatically defined through the drop function. This technique enforces the so-called resource acquisition is initialization (RAII) design pattern, in which resources, such as file descriptors or network sockets, are tied to the lifetime of an object: when the object is dropped, the resource is closed.[87][88]

The example below parses some configuration options from a string and creates a struct containing the options. The struct only contains references to the data; so, for the struct to remain valid, the data referred to by the struct must be valid as well. The function signature for parse_config specifies this relationship explicitly. In this example, the explicit lifetimes are unnecessary in newer Rust versions, due to lifetime elision, which is an algorithm that automatically assigns lifetimes to functions if they are trivial.[89]

use std::collections::HashMap;

// This struct has one lifetime parameter, 'src. The name is only used within the struct's definition.
struct Config<'src> {
    hostname: &'src str,
    username: &'src str,

// This function also has a lifetime parameter, 'cfg. 'cfg is attached to the "config" parameter, which
// establishes that the data in "config" lives at least as long as the 'cfg lifetime.
// The returned struct also uses 'cfg for its lifetime, so it can live at most as long as 'cfg.
fn parse_config<'cfg>(config: &'cfg str) -> Config<'cfg> {
    let key_values: HashMap<_, _> = config
        .filter(|line| !line.starts_with('#'))
        .filter_map(|line| line.split_once('='))
        .map(|(key, value)| (key.trim(), value.trim()))
    Config {
        hostname: key_values["hostname"],
        username: key_values["username"],

fn main() {
    let config = parse_config(
        r#"hostname = foobar
    println!("Parsed config: {:#?}", config);
A presentation on Rust by Emily Dunham from Mozilla's Rust team ( conference, Hobart, 2017)

Memory safety

Rust is designed to be memory safe. It does not permit null pointers, dangling pointers, or data races.[90][91][92] Data values can be initialized only through a fixed set of forms, all of which require their inputs to be already initialized.[93]

Unsafe code can subvert some of these restrictions, using the unsafe keyword.[74] Unsafe code may also be used for low-level functionality, such as volatile memory access, architecture-specific intrinsics, type punning, and inline assembly.[94]

Memory management

Rust does not use automated garbage collection. Memory and other resources are managed through the "resource acquisition is initialization" convention,[95] with optional reference counting. Rust provides deterministic management of resources, with very low overhead.[96] Values are allocated on the stack by default, and all dynamic allocations must be explicit.[97]

The built-in reference types using the & symbol do not involve run-time reference counting. The safety and validity of the underlying pointers is verified at compile time, preventing dangling pointers and other forms of undefined behavior.[98] Rust's type system separates shared, immutable references of the form &T from unique, mutable references of the form &mut T. A mutable reference can be coerced to an immutable reference, but not vice versa.[99]



Rust's more advanced features include the use of generic functions. A generic function is given generic parameters, which allow the same function to be applied to different variable types. This capability reduces duplicate code[100] and is known as parametric polymorphism.

The following program calculates the sum of two things, for which addition is implemented using a generic function:

use std::ops::Add;

// sum is a generic function with one type parameter, T
fn sum<T>(num1: T, num2: T) -> T
    T: Add<Output = T>,  // T must implement the Add trait where addition returns another T
    num1 + num2  // num1 + num2 is syntactic sugar for num1.add(num2) provided by the Add trait

fn main() {
    let result1 = sum(10, 20);
    println!("Sum is: {}", result1); // Sum is: 30

    let result2 = sum(10.23, 20.45);
    println!("Sum is: {}", result2); // Sum is: 30.68

At compile time, polymorphic functions like sum are instantiated with the specific types the code requires; in this case, sum of integers and sum of floats.

Generics can be used in functions to allow implementing a behavior for different types without repeating the same code. Generic functions can be written in relation to other generics, without knowing the actual type.[101]


Rust's type system supports a mechanism called traits, inspired by type classes in the Haskell language, to define shared behavior between different types. For example, the Add trait can be implemented for floats and integers, which can be added; and the Display or Debug traits can be implemented for any type that can be converted to a string. Traits can be used to provide a set of common behavior for different types without knowing the actual type. This facility is known as ad hoc polymorphism.

Generic functions can constrain the generic type to implement a particular trait or traits; for example, an add_one function might require the type to implement Add. This means that a generic function can be type-checked as soon as it is defined. The implementation of generics is similar to the typical implementation of C++ templates: a separate copy of the code is generated for each instantiation. This is called monomorphization and contrasts with the type erasure scheme typically used in Java and Haskell. Type erasure is also available via the keyword dyn (short for dynamic).[102] Because monomorphization duplicates the code for each type used, it can result in more optimized code for specific-use cases, but compile time and size of the output binary are also increased.[103]

In addition to defining methods for a user-defined type, the impl keyword can be used to implement a trait for a type.[79] Traits can provide additional derived methods when implemented.[104] For example, the trait Iterator requires that the next method be defined for the type. Once the next method is defined, the trait can provide common functional helper methods over the iterator, such as map or filter.[105]

Traits follow the composition over inheritance design principle.[106] That is, traits cannot define fields themselves; they provide a restricted form of inheritance where methods can be defined and mixed in to implementations.

Trait objects

Rust traits are implemented using static dispatch, meaning that the type of all values is known at compile time; however, Rust also uses a feature known as trait objects to accomplish dynamic dispatch (also known as duck typing).[107] Dynamically dispatched trait objects are declared using the syntax dyn Tr where Tr is a trait. Trait objects are dynamically sized, therefore they must be put behind a pointer, such as Box.[108] The following example creates a list of objects where each object can be printed out using the Display trait:

use std::fmt::Display;

let v: Vec<Box<dyn Display>> = vec![

for x in v {

If an element in the list does not implement the Display trait, it will cause a compile time error.[109]


For loops in Rust work in a functional style as operations over an iterator type. For example, in the loop

for x in 0..100 {

0..100 is a value of type Range which implements the Iterator trait; the code applies the function f to each element returned by the iterator. Iterators can be combined with functions over iterators like map, filter, and sum. For example, the following adds up all numbers between 1 and 100 that are multiples of 3:

(1..=100).filter(|&x| x % 3 == 0).sum()


It is possible to extend the Rust language using macros.

Declarative macros

A declarative macro (also called a "macro by example") is a macro that uses pattern matching to determine its expansion.[110][111]

Procedural macros

Procedural macros are Rust functions that run and modify the compiler's input token stream, before any other components are compiled. They are generally more flexible than declarative macros, but are more difficult to maintain due to their complexity.[112][113]

Procedural macros come in three flavors:

The println! macro is an example of a function-like macro. Theserde_derive macro[114] provides a commonly used library for generating code for reading and writing data in many formats, such as JSON. Attribute macros are commonly used for language bindings, such as the extendr library for Rust bindings to R.[115]

The following code shows the use of the Serialize, Deserialize, and Debug-derived procedural macros to implement JSON reading and writing, as well as the ability to format a structure for debugging.

use serde_json::{Serialize, Deserialize};

#[derive(Serialize, Deserialize, Debug)]
struct Point {
    x: i32,
    y: i32,

fn main() {
    let point = Point { x: 1, y: 2 };

    let serialized = serde_json::to_string(&point).unwrap();
    println!("serialized = {}", serialized);

    let deserialized: Point = serde_json::from_str(&serialized).unwrap();
    println!("deserialized = {:?}", deserialized);

A UML diagram depicting a Rust struct named Point.

Interface with C and C++

Rust has a foreign function interface (FFI) that can be used both to call code written in languages such as C from Rust and to call Rust code from those languages. Rust also has a library, CXX, for calling to or from C++.[116] Rust and C differ in how they lay out structs in memory, so Rust structs may be given a #[repr(C)] attribute, forcing the same layout as the equivalent C struct.[117]


Compiling a Rust program with Cargo

The Rust ecosystem includes its compiler, its standard library, and additional components for software development. Component installation is typically managed by rustup, a Rust toolchain installer developed by the Rust project.[118]


The Rust compiler is named rustc. Internally, rustc is a frontend to the LLVM intermediate representation (bytecode) compiler that is used for further device-specific and platform-specific binary code files (e.g. ELF or WASM binary) generation (compilation).[119][120]

Standard library

The Rust standard library defines and implements many widely used custom data types, including core data structures such as Vec, Option, and HashMap, as well as smart pointer types. Rust also provides a way to exclude most of the standard library using the attribute #![no_std]; this enables applications, such as embedded devices, which want to remove dependency code or provide their own core data structures. Internally, the standard library is divided into three parts, core, alloc, and std, where std and alloc are excluded by #![no_std].[121]

Screenshot of in June 2022


Cargo is Rust's build system and package manager. It downloads, compiles, distributes, and uploads packages—called crates—that are maintained in an official registry. It also acts as a front-end for Clippy and other Rust components.[15]

By default, Cargo sources its dependencies from the user-contributed registry, but Git repositories and crates in the local filesystem, and other external sources can also be specified as dependencies.[122]


Rustfmt is a code formatter for Rust. It formats whitespace and indentation to produce code in accordance with a common style, unless otherwise specified. It can be invoked as a standalone program, or from a Rust project through Cargo.[123]

Example output of Clippy on a hello world Rust program


Clippy is Rust's built-in linting tool to improve the correctness, performance, and readability of Rust code. It was created in 2014[124] and named after Microsoft Office's assistant, an anthropomorphized paperclip of the same name.[125] As of 2021, it has more than 450 rules,[126] which can be browsed online and filtered by category.[127][128]

Versioning system

Following Rust 1.0, new features are developed in nightly versions which are released daily. During each six-week release cycle, changes to nightly versions are released to beta, while changes from the previous beta version are released to a new stable version.[129]

Every two or three years, a new "edition" is produced. Editions are released to allow making limited breaking changes, such as promoting await to a keyword to support async/await features. Crates targeting different editions can interoperate with each other, so a crate can upgrade to a new edition even if its callers or its dependencies still target older editions. Migration to a new edition can be assisted with automated tooling.[130]

IDE support

The most popular language server for Rust is Rust Analyzer, which officially replaced the original language server, RLS, in July 2022.[131] Rust Analyzer provides IDEs and text editors with information about a Rust project; basic features including autocompletion, and the display of compilation errors while editing.[132]


Rust aims to provide memory safety guarantees without sacrificing performance.[133] Since it does not perform garbage collection, Rust is often faster than other memory-safe languages.[134][135][136]

Rust provides two "modes": safe and unsafe. Safe mode is the "normal" one, in which most Rust is written. In unsafe mode, the developer is responsible for the code's memory safety, making it possible to create applications that make use of low-level features.[137] It has been empirically demonstrated that unsafe Rust does not always perform faster than safe Rust, and can even be slower in some cases.[138]

Many of Rust's features are so-called zero-cost abstractions, meaning they are optimized away at compile time and incur no runtime penalty.[139] The ownership and borrowing system permits zero-copy implementations for some performance-sensitive tasks, such as parsing.[140] Static dispatch is used by default to eliminate method calls, with the exception of methods called on dynamic trait objects.[141] The compiler also uses inline expansion to eliminate function calls and statically-dispatched method invocations.[142]

Since Rust utilizes LLVM, any performance improvements in LLVM also carry over to Rust.[143] Unlike C and C++, Rust allows for reordering struct and enum elements[144] to reduce the sizes of structures in memory, for better memory alignment, and to improve cache access efficiency.[145]


See also: Category:Rust (programming language) software

Early homepage of Mozilla's Servo browser engine

Rust has been used in software spanning across different domains. Rust was initially funded by Mozilla as part of developing Servo, an experimental parallel browser engine, in collaboration with Samsung.[146] Components from the Servo engine were later incorporated in the Gecko browser engine underlying Firefox.[147]

Rust is used in several backend software projects of large web services. OpenDNS, a DNS resolution service owned by Cisco, uses Rust internally.[148][149] Cloudflare, a company providing content delivery network services uses Rust for its firewall pattern matching engine.[150][151] Discord, an instant messaging social platform uses Rust for portions of its backend, as well as client-side video encoding.[152] In 2021, Dropbox announced their use of Rust for a screen, video, and image capturing service.[153] Facebook (Meta) used Rust for Mononoke, a server for the Mercurial version control system.[154] Google (Alphabet) announced support for Rust in the Android operating system also in 2021.[37][155]

Amazon Web Services has developed projects in Rust since 2017,[156] including Firecracker, a virtualization solution;[157] Bottlerocket, a Linux distribution and containerization solution;[158] and Tokio, an asynchronous networking stack.[159] Microsoft Azure IoT Edge, a platform used to run Azure services on IoT devices, has components implemented in Rust.[160] Microsoft also uses Rust to run containerized modules with WebAssembly and Kubernetes.[161]

In operating systems, the Rust for Linux project was begun in 2021 to add Rust support to the Linux kernel.[162] Support for Rust (along with support for C and Assembly language) was officially added in version 6.1.[163] Redox is a "Unix-like operating system" that includes a microkernel written in Rust.[164] Another operating system named Theseus is an experiment in operating system design using Rust to enforce modular state management between operating system components.[165][166] Rust is also used for command-line tools and specific operating system components, including stratisd, is a file system manager[167][168] and COSMIC, a desktop environment by System76.[169][170]

Microsoft announced in 2020 that parts of Microsoft Windows are being rewritten in Rust. As of 2023, DWriteCore, a system library for text layout and glyph render, has about 152,000 lines of Rust code and about 96,000 lines of C++ code, and saw a performance increase of 5 to 15 percent in some cases.[171]

Ruffle, a web emulator for Adobe Flash SWF files

In web development, Deno, a secure runtime for JavaScript and TypeScript, is built with V8, Rust, and Tokio.[172] Ruffle is an open-source SWF emulator written in Rust.[173] Other notable projects include TerminusDB, an open source distributed graph database for knowledge graphs,[174] and Polkadot, an open source blockchain platform and cryptocurrency.[175]

In the 2023 Stack Overflow Developer Survey, 13% of respondents had recently done extensive development in Rust.[176] The survey also named Rust the "most loved programming language" every year from 2016 to 2023 (inclusive), based on the number of developers interested in continuing to work in the same language.[177][note 7] In 2023, Rust was the 6th "most wanted technology", with 31% of developers not currently working in Rust expressing an interest in doing so.[176]


A bright orange crab icon
Some Rust users refer to themselves as Rustaceans (a pun on crustacean) and have adopted an orange crab, Ferris, as their unofficial mascot.[178]


Rust's official website lists online forums, messaging platforms, and in-person meetups for the Rust community.[179] Conferences dedicated to Rust development in the past have included:

Rust Foundation

Rust Foundation
FormationFebruary 8, 2021; 2 years ago (2021-02-08)
TypeNonprofit organization
Shane Miller
Rebecca Rumbul

The Rust Foundation is a non-profit membership organization incorporated in United States, with the primary purposes of backing the technical project as a legal entity and helping to manage the trademark and infrastructure assets.[187][43]

It was established on February 8, 2021, with five founding corporate members (Amazon Web Services, Huawei, Google, Microsoft, and Mozilla).[188] The foundation's board is chaired by Shane Miller.[189] Starting in late 2021, its Executive Director and CEO is Rebecca Rumbul.[190] Prior to this, Ashley Williams was interim executive director.[191]

Governance teams

The Rust project is composed of teams that are responsible for different subareas of the development. For example, the Core team manages Rust's overall direction, supervises subteams, and deals with cross-cutting issues; the compiler team develops, manages, and optimizes compiler internals; and the language team is in charge of designing and helping to implement new language features.[192][193]

See also


  1. ^ Including build tools, host tools, and standard library support for x86-64, ARM, MIPS, RISC-V, WebAssembly, i686, AArch64, PowerPC, and s390x.[2]
  2. ^ Including Windows, Linux, macOS, FreeBSD, NetBSD, and Illumos. Host build tools on Android, iOS, Haiku, Redox, and Fuchsia are not officially shipped; these operating systems are supported as targets.[2]
  3. ^ Third-party dependencies, e.g., LLVM or MSVC, are subject to their own licenses.[3][4]
  4. ^ a b c d e f This literal uses an explicit suffix, which is not needed when type can be inferred from the context
  5. ^ Interpreted as i32 by default, or inferred from the context
  6. ^ Type inferred from the context
  7. ^ That is, among respondents who have done "extensive development work [with Rust] in over the past year" (13.05%), Rust had the largest percentage who also expressed interest to "work in [Rust] over the next year" (84.66%).[176]


Book sources

  • Gjengset, Jon (2021). Rust for Rustaceans (1st ed.). No Starch Press. ISBN 9781718501850. OCLC 1277511986.
  • Klabnik, Steve; Nichols, Carol (2019-08-12). The Rust Programming Language (Covers Rust 2018). No Starch Press. ISBN 978-1-7185-0044-0.
  • Blandy, Jim; Orendorff, Jason; Tindall, Leonora F. S. (2021). Programming Rust: Fast, Safe Systems Development (2nd ed.). O'Reilly Media. ISBN 978-1-4920-5254-8. OCLC 1289839504.
  • McNamara, Tim (2021). Rust in Action. Manning Publications. ISBN 978-1-6172-9455-6. OCLC 1153044639.
  • Klabnik, Steve; Nichols, Carol (2023). The Rust programming language (2nd ed.). No Starch Press. ISBN 978-1-7185-0310-6. OCLC 1363816350.


  1. ^ "Announcing Rust 1.72.0".
  2. ^ a b "Platform Support". The rustc book. Retrieved 2022-06-27.
  3. ^ "The Rust Programming Language". The Rust Programming Language. 2022-10-19.
  4. ^ "Uniqueness Types". Rust Blog. Retrieved 2016-10-08. Those of you familiar with the Elm style may recognize that the updated --explain messages draw heavy inspiration from the Elm approach.
  5. ^ a b "Appendix: Influences". The Rust Reference. Archived from the original on 2019-01-26. Retrieved 2018-11-11.
  6. ^ "Uniqueness Types". Idris 1.3.3 documentation. Retrieved 2022-07-14. They are inspired by ... ownership types and borrowed pointers in the Rust programming language.
  7. ^ "Microsoft opens up Rust-inspired Project Verona programming language on GitHub". ZDNet. Archived from the original on 2020-01-17. Retrieved 2020-01-17.
  8. ^ Jaloyan, Georges-Axel (2017-10-19). "Safe Pointers in SPARK 2014". arXiv:1710.07047 [cs.PL].
  9. ^ Lattner, Chris. "Chris Lattner's Homepage". Archived from the original on 2018-12-25. Retrieved 2019-05-14.
  10. ^ Yegulalp, Serdar (2016-08-29). "New challenger joins Rust to topple C language". InfoWorld. Retrieved 2022-10-19.
  11. ^ Eshwarla, Prabhu (2020-12-24). Practical System Programming for Rust Developers: Build fast and secure software for Linux/Unix systems with the help of practical examples. Packt Publishing Ltd. ISBN 978-1-80056-201-1.
  12. ^ Blandy, Jim; Orendorff, Jason (2017-11-21). Programming Rust: Fast, Safe Systems Development. "O'Reilly Media, Inc.". ISBN 978-1-4919-2725-0.
  13. ^ Blanco-Cuaresma, Sergi; Bolmont, Emeline (2017-05-30). "What can the programming language Rust do for astrophysics?". Proceedings of the International Astronomical Union. 12 (S325): 341–344. arXiv:1702.02951. Bibcode:2017IAUS..325..341B. doi:10.1017/S1743921316013168. ISSN 1743-9213. S2CID 7857871.
  14. ^ a b Perkel, Jeffrey M. (2020-12-01). "Why scientists are turning to Rust". Nature. 588 (7836): 185–186. Bibcode:2020Natur.588..185P. doi:10.1038/d41586-020-03382-2. PMID 33262490. S2CID 227251258. Archived from the original on 2022-05-06. Retrieved 2022-05-15.
  15. ^ "Computer Scientist proves safety claims of the programming language Rust". EurekAlert!. Archived from the original on 2022-02-24. Retrieved 2022-05-15.
  16. ^ Jung, Ralf; Jourdan, Jacques-Henri; Krebbers, Robbert; Dreyer, Derek (2017-12-27). "RustBelt: securing the foundations of the Rust programming language". Proceedings of the ACM on Programming Languages. 2 (POPL): 66:1–66:34. doi:10.1145/3158154. S2CID 215791659. Archived from the original on 2022-06-11. Retrieved 2022-05-15.
  17. ^ Jung, Ralf (2020). Understanding and evolving the Rust programming language (PhD thesis). Saarland University. doi:10.22028/D291-31946. Archived from the original on 2022-03-08. Retrieved 2022-05-15.
  18. ^ a b Avram, Abel (2012-08-13). "Interview on Rust, a Systems Programming Language Developed by Mozilla". InfoQ. Retrieved 2022-10-14.
  19. ^ Asay, Matt (2021-04-12). "Rust, not Firefox, is Mozilla's greatest industry contribution". TechRepublic. Retrieved 2022-07-07.
  20. ^ Hoare, Graydon (2010-07-07). Project Servo (PDF). Mozilla Annual Summit 2010. Whistler, Canada. Archived (PDF) from the original on 2017-07-11. Retrieved 2017-02-22.
  21. ^ a b Thompson, Clive (2023-02-14). "How Rust went from a side project to the world's most-loved programming language". MIT Technology Review. Retrieved 2023-02-23.
  22. ^ Hoare, Graydon. " --". people keep asking and I keep making up different explanations.
  23. ^ Hoare, Graydon (2012-03-29). "[rust-dev] Rust 0.2 released". Retrieved 2022-06-12.
  24. ^ Hoare, Graydon (2012-07-12). "[rust-dev] Rust 0.3 released". Retrieved 2022-06-12.
  25. ^ Hoare, Graydon (2012-10-15). "[rust-dev] Rust 0.4 released". Archived from the original on 2021-10-31. Retrieved 2021-10-31.
  26. ^ Binstock, Andrew (2014-01-07). "The Rise And Fall of Languages in 2013". Dr. Dobb's Journal. Archived from the original on 2016-08-07. Retrieved 2022-11-20.
  27. ^ "Version History". GitHub. Archived from the original on 2015-05-15. Retrieved 2017-01-01.
  28. ^ The Rust Core Team (2015-05-15). "Announcing Rust 1.0". Rust Blog. Archived from the original on 2015-05-15. Retrieved 2015-12-11.
  29. ^ Lardinois, Frederic (2017-09-29). "It's time to give Firefox another chance". TechCrunch. Retrieved 2023-08-15.
  30. ^ Cimpanu, Catalin (2020-08-11). "Mozilla lays off 250 employees while it refocuses on commercial products". ZDNet. Archived from the original on 2022-03-18. Retrieved 2020-12-02.
  31. ^ Cooper, Daniel (2020-08-11). "Mozilla lays off 250 employees due to the pandemic". Engadget. Archived from the original on 2020-12-13. Retrieved 2020-12-02.
  32. ^ Tung, Liam. "Programming language Rust: Mozilla job cuts have hit us badly but here's how we'll survive". ZDNet. Archived from the original on 2022-04-21. Retrieved 2022-04-21.
  33. ^ "Laying the foundation for Rust's future". Rust Blog. 2020-08-18. Archived from the original on 2020-12-02. Retrieved 2020-12-02.
  34. ^ "Hello World!". Rust Foundation. 2020-02-08. Archived from the original on 2022-04-19. Retrieved 2022-06-04.
  35. ^ "Mozilla Welcomes the Rust Foundation". Mozilla Blog. 2021-02-09. Archived from the original on 2021-02-08. Retrieved 2021-02-09.
  36. ^ a b "Rust in the Android platform". Google Online Security Blog. Archived from the original on 2022-04-03. Retrieved 2022-04-21.
  37. ^ Amadeo, Ron (2021-04-07). "Google is now writing low-level Android code in Rust". Ars Technica. Archived from the original on 2021-04-08. Retrieved 2021-04-08.
  38. ^ Anderson, Tim (2021-11-23). "Entire Rust moderation team resigns". The Register. Retrieved 2022-08-04.
  39. ^ "Governance Update". Inside Rust Blog. Retrieved 2022-10-27.
  40. ^ Claburn, Thomas (2023-04-17). "Rust Foundation apologizes for trademark policy confusion". The Register. Retrieved 2023-05-07.
  41. ^ Proven, Liam (2019-11-27). "Rebecca Rumbul named new CEO of The Rust Foundation". Retrieved 2022-07-14. Both are curly bracket languages, with C-like syntax that makes them unintimidating for C programmers.
  42. ^ a b Brandon Vigliarolo (2021-02-10). "The Rust programming language now has its own independent foundation". TechRepublic. Retrieved 2022-07-14.
  43. ^ Klabnik & Nichols 2019, p. 263.
  44. ^ Avram, Abel (2012-08-03). "Interview on Rust, a Systems Programming Language Developed by Mozilla". InfoQ. Archived from the original on 2013-07-24. Retrieved 2013-08-17.
  45. ^ Klabnik & Nichols 2019, pp. 5–6.
  46. ^ Klabnik & Nichols 2019, pp. 49–57.
  47. ^ Klabnik & Nichols 2019, pp. 104–109.
  48. ^ Klabnik & Nichols 2019, p. 49.
  49. ^ Klabnik & Nichols 2019, pp. 50–53.
  50. ^ Tyson, Matthew (2022-03-03). "Rust programming for Java developers". InfoWorld. Retrieved 2022-07-14.
  51. ^ "Closures - Rust By Example".
  52. ^ a b "As input parameters - Rust By Example".
  53. ^ "Lifetimes - Rust By Example". web)): CS1 maint: url-status (link)
  54. ^ Klabnik & Nichols 2019, pp. 24.
  55. ^ Klabnik & Nichols 2019, pp. 32–33.
  56. ^ Klabnik & Nichols 2019, pp. 36–38.
  57. ^ Klabnik & Nichols 2019, pp. 39–40.
  58. ^ "str - Rust". Retrieved 2023-06-23.
  59. ^ "slice - Rust". Retrieved 2023-06-23.
  60. ^ "std::boxed - Rust". Retrieved 2023-06-24.
  61. ^ "Rc in std::rc - Rust". Retrieved 2023-06-24.
  62. ^ "Arc in std::sync - Rust". Retrieved 2023-06-24.
  63. ^ "Cell in std::cell - Rust". Retrieved 2023-06-24.
  64. ^ "Mutex in std::sync - Rust". Retrieved 2023-06-24.
  65. ^ "RwLock in std::sync - Rust". Retrieved 2023-06-24.
  66. ^ "Condvar in std::sync - Rust". Retrieved 2023-06-24.
  67. ^ "Duration in std::time - Rust". Retrieved 2023-06-24.
  68. ^ "HashMap in std::collections - Rust". Retrieved 2023-06-24.
  69. ^ "BTreeMap in std::collections - Rust". Retrieved 2023-06-24.
  70. ^ McNamara 2021.
  71. ^ "std::boxed - Rust". Retrieved 2023-06-23.
  72. ^ Klabnik & Nichols 2019, pp. 101–104.
  73. ^ a b Klabnik & Nichols 2019, pp. 418–427.
  74. ^ Klabnik & Nichols 2019, p. 83.
  75. ^ Klabnik & Nichols 2019, p. 97.
  76. ^ Klabnik & Nichols 2019, pp. 98–101.
  77. ^ Klabnik & Nichols 2019, pp. 438–440.
  78. ^ a b Klabnik & Nichols 2019, pp. 93.
  79. ^ Klabnik & Nichols 2019, pp. 59–61.
  80. ^ a b Klabnik & Nichols 2019, pp. 63–68.
  81. ^ Klabnik & Nichols 2019, pp. 74–75.
  82. ^ Balasubramanian, Abhiram; Baranowski, Marek S.; Burtsev, Anton; Panda, Aurojit; Rakamarić, Zvonimir; Ryzhyk, Leonid (2017-05-07). "System Programming in Rust". Proceedings of the 16th Workshop on Hot Topics in Operating Systems. HotOS '17. New York, NY, US: Association for Computing Machinery. pp. 156–161. doi:10.1145/3102980.3103006. ISBN 978-1-4503-5068-6. S2CID 24100599. Archived from the original on 2022-06-11. Retrieved 2022-06-01.
  83. ^ Klabnik & Nichols 2019, pp. 75, 134.
  84. ^ Shamrell-Harrington, Nell. "The Rust Borrow Checker – a Deep Dive". InfoQ. Retrieved 2022-06-25.
  85. ^ Klabnik & Nichols 2019, pp. 192–204.
  86. ^ "Drop in std::ops – Rust". Retrieved 2022-07-16.
  87. ^ Gomez, Guillaume; Boucher, Antoni (2018). "RAII". Rust programming by example (First ed.). Birmingham, UK. p. 358. ISBN 9781788390637.((cite book)): CS1 maint: location missing publisher (link)
  88. ^ Klabnik & Nichols 2019, pp. 201–203.
  89. ^ Rosenblatt, Seth (2013-04-03). "Samsung joins Mozilla's quest for Rust". CNET. Archived from the original on 2013-04-04. Retrieved 2013-04-05.
  90. ^ Brown, Neil (2013-04-17). "A taste of Rust". Archived from the original on 2013-04-26. Retrieved 2013-04-25.
  91. ^ "Races – The Rustonomicon". Archived from the original on 2017-07-10. Retrieved 2017-07-03.
  92. ^ "The Rust Language FAQ". 2015. Archived from the original on 2015-04-20. Retrieved 2017-04-24.
  93. ^ McNamara 2021, p. 139, 376–379, 395.
  94. ^ "RAII – Rust By Example". Archived from the original on 2019-04-21. Retrieved 2020-11-22.
  95. ^ "Abstraction without overhead: traits in Rust". Rust Blog. Archived from the original on 2021-09-23. Retrieved 2021-10-19.
  96. ^ "Box, stack and heap". Rust By Example. Retrieved 2022-06-13.
  97. ^ Klabnik & Nichols 2019, pp. 70–75.
  98. ^ Klabnik & Nichols 2019, p. 323.
  99. ^ Klabnik & Nichols 2019, pp. 171–172.
  100. ^ Klabnik & Nichols 2019, pp. 171–172, 205.
  101. ^ Klabnik & Nichols 2019, pp. 181, 182.
  102. ^ Gjengset 2021, p. 25.
  103. ^ Klabnik & Nichols 2019, pp. 182–184.
  104. ^ Klabnik & Nichols 2019, pp. 281–283.
  105. ^ Milanesi, Carlo (2018). Beginning Rust: from novice to professional. [Berkeley, CA]. p. 283. ISBN 978-1-4842-3468-6. OCLC 1029604209.((cite book)): CS1 maint: location missing publisher (link)
  106. ^ "Using Trait Objects That Allow for Values of Different Types – The Rust Programming Language". Retrieved 2022-07-11.
  107. ^ Klabnik & Nichols 2019, pp. 441–442.
  108. ^ Klabnik & Nichols 2019, pp. 379–380.
  109. ^ "Macros By Example". The Rust Reference. Retrieved 2023-04-21.
  110. ^ Klabnik & Nichols 2019, pp. 446–448.
  111. ^ "Procedural Macros". The Rust Programming Language Reference. Archived from the original on 2020-11-07. Retrieved 2021-03-23.
  112. ^ Klabnik & Nichols 2019, pp. 449–455.
  113. ^ "Serde Derive". Serde Derive documentation. Archived from the original on 2021-04-17. Retrieved 2021-03-23.
  114. ^ "extendr_api – Rust". Extendr Api Documentation. Archived from the original on 2021-05-25. Retrieved 2021-03-23.
  115. ^ "Safe Interoperability between Rust and C++ with CXX". InfoQ. 2020-12-06. Archived from the original on 2021-01-22. Retrieved 2021-01-03.
  116. ^ "Type layout – The Rust Reference". Retrieved 2022-07-15.
  117. ^ 樽井, 秀人 (2022-07-13). "「Rust」言語のインストーラー「Rustup」が「Visual Studio 2022」の自動導入に対応/Windows/Mac/Linux、どのプラットフォームでも共通の手順でお手軽セットアップ". 窓の杜 (in Japanese). Retrieved 2022-07-14.
  118. ^ "Overview of the compiler - Rust Compiler Development Guide". Retrieved 2023-06-02.
  119. ^ Yegulalp, Serdar (2020-03-11). "What is LLVM? The power behind Swift, Rust, Clang, and more". InfoWorld. Retrieved 2023-06-02.
  120. ^ Gjengset 2021, p. 213-215.
  121. ^ Simone, Sergio De (2019-04-18). "Rust 1.34 Introduces Alternative Registries for Non-Public Crates". InfoQ. Retrieved 2022-07-14.
  122. ^ Klabnik & Nichols 2019, pp. 511–512.
  123. ^ "Create · rust-lang/rust-clippy@507dc2b". GitHub. Archived from the original on 2021-11-22. Retrieved 2021-11-22.
  124. ^ "24 days of Rust: Day 1: Cargo subcommands". Archived from the original on 2022-04-07. Retrieved 2021-11-22.
  125. ^ "rust-lang/rust-clippy". GitHub. Archived from the original on 2021-05-23. Retrieved 2021-05-21.
  126. ^ "ALL the Clippy Lints". Archived from the original on 2021-05-22. Retrieved 2021-05-22.
  127. ^ Klabnik & Nichols 2019, pp. 513–514.
  128. ^ Klabnik & Nichols 2019, Appendix G - How Rust is Made and "Nightly Rust"
  129. ^ Blandy, Orendorff & Tindall 2021, pp. 176–177.
  130. ^ Anderson, Tim (2022-07-05). "Rust team releases 1.62, sets end date for deprecated language server". DEVCLASS. Retrieved 2022-07-14.
  131. ^ Klabnik & Nichols 2023, p. 623.
  132. ^ McNamara 2021, p. 11.
  133. ^ Anderson, Tim. "Can Rust save the planet? Why, and why not". The Register. Retrieved 2022-07-11.
  134. ^ Balasubramanian, Abhiram; Baranowski, Marek S.; Burtsev, Anton; Panda, Aurojit; Rakamarić, Zvonimir; Ryzhyk, Leonid (2017-05-07). "System Programming in Rust". Proceedings of the 16th Workshop on Hot Topics in Operating Systems. Whistler BC Canada: ACM. pp. 156–161. doi:10.1145/3102980.3103006. ISBN 978-1-4503-5068-6. S2CID 24100599.
  135. ^ Yegulalp, Serdar (2021-10-06). "What is the Rust language? Safe, fast, and easy software development". InfoWorld. Retrieved 2022-06-25.
  136. ^ Wróbel, Krzysztof (2022-04-11). "Rust projects – why large IT companies use Rust?". Archived from the original on 2022-12-27.
  137. ^ Popescu, Natalie; Xu, Ziyang; Apostolakis, Sotiris; August, David I.; Levy, Amit (2021-10-15). "Safer at any speed: automatic context-aware safety enhancement for Rust". Proceedings of the ACM on Programming Languages. 5 (OOPSLA). Section 2. doi:10.1145/3485480. S2CID 238212612. p. 5: We observe a large variance in the overheads of checked indexing: 23.6% of benchmarks do report significant performance hits from checked indexing, but 64.5% report little-to-no impact and, surprisingly, 11.8% report improved performance ... Ultimately, while unchecked indexing can improve performance, most of the time it does not.
  138. ^ McNamara 2021, p. 19, 27.
  139. ^ Couprie, Geoffroy (2015). "Nom, A Byte oriented, streaming, Zero copy, Parser Combinators Library in Rust". 2015 IEEE Security and Privacy Workshops. pp. 142–148. doi:10.1109/SPW.2015.31. ISBN 978-1-4799-9933-0. S2CID 16608844.
  140. ^ McNamara 2021, p. 20.
  141. ^ "Code generation - The Rust Reference". Retrieved 2022-10-09.
  142. ^ "How Fast Is Rust?". The Rust Programming Language FAQ. Archived from the original on 2020-10-28. Retrieved 2019-04-11.
  143. ^ Farshin, Alireza; Barbette, Tom; Roozbeh, Amir; Maguire Jr, Gerald Q.; Kostić, Dejan (2021). PacketMill: toward per-Core 100-Gbps networking. pp. 1–17. doi:10.1145/3445814.3446724. ISBN 9781450383172. S2CID 231949599. Retrieved 2022-07-12. ... While some compilers (e.g., Rust) support structure reordering [82], C & C++ compilers are forbidden to reorder data structures (e.g., struct or class) [74] ... ((cite book)): |website= ignored (help)
  144. ^ "Type layout". The Rust Reference. Retrieved 2022-07-14.
  145. ^ Lardinois, Frederic (2015-04-03). "Mozilla And Samsung Team Up To Develop Servo, Mozilla's Next-Gen Browser Engine For Multicore Processors". TechCrunch. Archived from the original on 2016-09-10. Retrieved 2017-06-25.
  146. ^ Keizer, Gregg (2016-10-31). "Mozilla plans to rejuvenate Firefox in 2017". Computerworld. Retrieved 2023-05-13.
  147. ^ Shankland, Stephen (2016-07-12). "Firefox will get overhaul in bid to get you interested again". CNET. Retrieved 2022-07-14.
  148. ^ Team, Security Research (2013-10-04). "ZeroMQ: Helping us Block Malicious Domains in Real Time". Cisco Umbrella. Retrieved 2023-05-13.
  149. ^ "How we made Firewall Rules". The Cloudflare Blog. 2019-03-04. Retrieved 2022-06-11.
  150. ^ "Enjoy a slice of QUIC, and Rust!". The Cloudflare Blog. 2019-01-22. Retrieved 2022-06-11.
  151. ^ Howarth, Jesse (2020-02-04). "Why Discord is switching from Go to Rust". Archived from the original on 2020-06-30. Retrieved 2020-04-14.
  152. ^ The Dropbox Capture Team. "Why we built a custom Rust library for Capture". Dropbox.Tech. Archived from the original on 2022-04-06. Retrieved 2022-04-21.
  153. ^ "A brief history of Rust at Facebook". Engineering at Meta. 2021-04-29. Archived from the original on 2022-01-19. Retrieved 2022-04-21.
  154. ^ Amadeo, Ron (2021-04-07). "Google is now writing low-level Android code in Rust". Ars Technica. Archived from the original on 2021-04-08. Retrieved 2022-04-21.
  155. ^ "How our AWS Rust team will contribute to Rust's future successes". Amazon Web Services. 2021-03-03. Archived from the original on 2022-01-02. Retrieved 2022-01-02.
  156. ^ "Firecracker – Lightweight Virtualization for Serverless Computing". Amazon Web Services. 2018-11-26. Archived from the original on 2021-12-08. Retrieved 2022-01-02.
  157. ^ "Announcing the General Availability of Bottlerocket, an open source Linux distribution built to run containers". Amazon Web Services. 2020-08-31. Archived from the original on 2022-01-02. Retrieved 2022-01-02.
  158. ^ "Why AWS loves Rust, and how we'd like to help". Amazon Web Services. 2020-11-24. Archived from the original on 2020-12-03. Retrieved 2022-04-21.
  159. ^ Nichols, Shaun (2018-06-27). "Microsoft's next trick? Kicking things out of the cloud to Azure IoT Edge". The Register. Archived from the original on 2019-09-27. Retrieved 2019-09-27.
  160. ^ Tung, Liam. "Microsoft: Why we used programming language Rust over Go for WebAssembly on Kubernetes app". ZDNet. Archived from the original on 2022-04-21. Retrieved 2022-04-21.
  161. ^ Anderson, Tim (2021-12-07). "Rusty Linux kernel draws closer with new patch". The Register. Retrieved 2022-07-14.
  162. ^ Simone, Sergio De. "Linux 6.1 Officially Adds Support for Rust in the Kernel". InfoQ. Retrieved 2023-02-08.
  163. ^ Yegulalp, Serdar. "Rust's Redox OS could show Linux a few new tricks". infoworld. Archived from the original on 2016-03-21. Retrieved 2016-03-21.
  164. ^ Anderson, Tim (2021-01-14). "Another Rust-y OS: Theseus joins Redox in pursuit of safer, more resilient systems". Retrieved 2022-07-14.
  165. ^ Boos, Kevin; Liyanage, Namitha; Ijaz, Ramla; Zhong, Lin (2020). Theseus: an Experiment in Operating System Structure and State Management. pp. 1–19. ISBN 978-1-939133-19-9.
  166. ^ Sei, Mark (2018-10-10). "Fedora 29 new features: Startis now officially in Fedora". Marksei, Weekly sysadmin pills. Archived from the original on 2019-04-13. Retrieved 2019-05-13.
  167. ^ Proven, Liam (2022-07-12). "Oracle Linux 9 released, with some interesting additions". The Register. Retrieved 2022-07-14.
  168. ^ Patel, Pratham (2022-01-14). "I Tried System76's New Rust-based COSMIC Desktop!". It's FOSS News - Development Updates. It's FOSS News. Retrieved 2023-01-10.
  169. ^ "Pop!_OS by System76". System76, Inc. Retrieved 2023-01-10.
  170. ^ Claburn, Thomas (2023-04-27). "Microsoft is rewriting core Windows libraries in Rust". The Register. Retrieved 2023-05-13.
  171. ^ Hu, Vivian (2020-06-12). "Deno Is Ready for Production". InfoQ. Retrieved 2022-07-14.
  172. ^ Abrams, Lawrence (2021-02-06). "This Flash Player emulator lets you securely play your old games". BleepingComputer. Retrieved 2021-12-25.
  173. ^ terminusdb/terminusdb-store, TerminusDB, 2020-12-14, archived from the original on 2020-12-15, retrieved 2020-12-14
  174. ^ "Ethereum Blockchain Killer Goes By Unassuming Name of Polkadot". Bloomberg. 2020-10-17. Retrieved 2021-07-14.
  175. ^ a b c "Stack Overflow Developer Survey 2023". Stack Overflow. Retrieved 2023-06-25.
  176. ^ Claburn, Thomas (2022-06-23). "Linus Torvalds says Rust is coming to the Linux kernel". The Register. Retrieved 2022-07-15.
  177. ^ "Getting Started". Archived from the original on 2020-11-01. Retrieved 2020-10-11.
  178. ^ "Community". Archived from the original on 2022-01-03. Retrieved 2022-01-03.
  179. ^ "RustConf 2020 – Thursday, August 20". Archived from the original on 2019-08-25. Retrieved 2019-08-25.
  180. ^ "Information". Retrieved 2023-05-13.
  181. ^ RustFest. Barcelona, Spain: asquera Event UG. 2019. Archived from the original on 2019-04-24. Retrieved 2019-05-14.
  182. ^ Rust Belt Rust. Rust Belt Rust. Dayton, Ohio. 2019-10-18. Archived from the original on 2019-05-14. Retrieved 2019-05-14.
  183. ^ "RustCon Asia 2019 – About". RustCon Asia. Archived from the original on 2021-05-09. Retrieved 2022-04-21.
  184. ^ "Rust Latam". Rust Latam. Archived from the original on 2021-04-16. Retrieved 2022-04-21.
  185. ^ "Oxidize Global". Oxidize Berlin Conference. Archived from the original on 2021-02-06. Retrieved 2021-02-01.
  186. ^ Tung, Liam (2021-02-08). "The Rust programming language just took a huge step forwards". ZDNet. Retrieved 2022-07-14.
  187. ^ Krill, Paul. "Rust language moves to independent foundation". InfoWorld. Archived from the original on 2021-04-10. Retrieved 2021-04-10.
  188. ^ Vaughan-Nichols, Steven J. (2021-04-09). "AWS's Shane Miller to head the newly created Rust Foundation". ZDNet. Archived from the original on 2021-04-10. Retrieved 2021-04-10.
  189. ^ Vaughan-Nichols, Steven J. (2021-11-17). "Rust Foundation appoints Rebecca Rumbul as executive director". ZDNet. Archived from the original on 2021-11-18. Retrieved 2021-11-18.
  190. ^ "The Rust programming language now has its own independent foundation". TechRepublic. 2021-02-10. Archived from the original on 2021-11-18. Retrieved 2021-11-18.
  191. ^ "Governance". The Rust Programming Language. Archived from the original on 2022-05-10. Retrieved 2022-05-07.
  192. ^ Anderson, Tim (2021-11-23). "Entire Rust moderation team resigns". The Register. Retrieved 2022-07-14.

Further reading