Rust (programming language)

Rust
Paradigms
DeveloperThe Rust Team
First appearedJanuary 19, 2012 (2012-01-19)
Stable release
1.87.0  / May 15, 2025 (May 15, 2025)
Typing discipline
Implementation languageOCaml (2006–2011)
Rust (2012–present)
PlatformCross-platform
OSCross-platform
LicenseMIT, Apache 2.0
Filename extensions.rs, .rlib
Websiterust-lang.org
Influenced by
Influenced

Rust is a general-purpose programming language emphasizing performance, type safety, and concurrency. It enforces memory safety, meaning that all references point to valid memory. It does so without a conventional garbage collector; instead, memory safety errors and data races are prevented by the "borrow checker", which tracks the object lifetime of references at compile time.

Rust does not enforce a programming paradigm, but was influenced by ideas from functional programming, including immutability, higher-order functions, algebraic data types, and pattern matching. It also supports object-oriented programming via structs, enums, traits, and methods. It is popular for systems programming.

Software developer Graydon Hoare created Rust as a personal project while working at Mozilla Research in 2006. Mozilla officially sponsored the project in 2009. In the years following the first stable release in May 2015, Rust was adopted by companies including Amazon, Discord, Dropbox, Google (Alphabet), Meta, 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 rapid adoption, and has been studied in programming language theory research.