Rust (programming language)

From WikiTech, the free technology encyclopedia

Memory-safe systems programming language (1.0 in 2015)

4 sources from MIT Technology Review, Mozilla Hacks, Mozilla and 1 more. Checked by ByteExplained editors on 3 December 2026. How we check facts

Rust is an open-source programming language that aims to combine the speed and control of low-level languages with memory safety and expressive, high-level syntax.[1][2]

Contents
  1. History
  2. How it works
  3. See also
  4. References

History

Rust began in 2006 as a side project by Graydon Hoare, a programmer at Mozilla. Annoyed after a crashed lift forced him to climb 21 floors to his flat in Vancouver, he set out to create a language that would avoid the memory bugs common in the C (programming language) and C++ languages. He named it after a group of fungi that he described as “over-engineered for survival”.[1] Mozilla officially sponsored the project from 2009, and Hoare presented early work on it in 2010.[1][3] Rust 1.0, the first stable version, was released on 15 May 2015.[2]

Mozilla used Rust to build Stylo, the CSS engine in Mozilla Firefox, replacing about 160,000 lines of C++ with about 85,000 lines of Rust.[3] In February 2021 the language gained an independent home in the Rust Foundation, a non-profit backed by technology companies, with Mozilla as a founding sponsor.[3][1] Companies using or supporting Rust include Microsoft, Amazon, Dropbox and Cloudflare, and it has repeatedly been voted the most “loved” language in Stack Overflow’s annual developer survey.[1] In December 2022 Linux 6.1 became the first stable Linux kernel release to include Rust support, making it the second language accepted for kernel development after C.[4]

How it works

Rust does not use a garbage collector to free memory while a program runs. Instead it uses an ownership model: each value has a single owner, and other parts of a program may “borrow” it for a limited time. A part of the compiler called the borrow checker enforces these rules when the program is built, catching many errors before the software runs.[2] The same ownership rules help programs safely share data between threads.[2] Rust comes with Cargo, a package manager, and shared libraries, called crates, are published on crates.io.[2]

See also

References

  1. ^ Rust: the world’s fastest-growing programming language. MIT Technology Review. 2023-02-14. technologyreview.com
  2. ^ Diving into Rust for the first time. Mozilla Hacks. 2015-05-15. hacks.mozilla.org
  3. ^ Mozilla Welcomes the Rust Foundation. Mozilla. 2021-02-08. blog.mozilla.org
  4. ^ Linux 6.1 officially adds support for Rust in the kernel. InfoQ. 2022-12-20. infoq.com
Technologies on WikiTech
Programming languages
All technologies