Jump to content

Rust for Linux

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mazca (talk | contribs) at 16:55, 9 August 2022 (caps). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Rust for Linux
Developer(s)
  • Community contributors
  • Miguel Ojeda
Repositorygithub.com/Rust-for-Linux/linux
Written inRust
Available inEnglish
LicenseGPL-2.0-only with Linux-syscall-note.
Websiterust-for-linux.com Edit this on Wikidata

Rust for Linux is a series of patches to the Linux kernel that adds Rust as a second programming language to C for writing kernel components.

History

The Linux kernel has been primarily written in C and assembly language since its first release in 1991. Around 1997, the addition of C++ was considered and experimented upon for two weeks before being scrapped.[1] Rust was created in 2006 and combines the performance of low-level programming languages (such as C) with a focus on memory safety and a user-friendly tool set and syntax.[2]

The Rust for Linux project was announced in 2020 in the Linux kernel mailing list with goals of leveraging Rust's memory safety to reduce bugs when writing kernel drivers.[3] At the Open Source Summit 2022, Linus Torvalds stated that the incorporation of the project's work could begin as soon as the Linux 5.20 release, with a planned release date of October or November 2022.[4]

References

  1. ^ Claburn, Thomas (2022-06-23). "Linus Torvalds says Rust is coming to the Linux kernel". The Register. Retrieved 2022-07-25.
  2. ^ Perkel, Jeffrey M. (2020-12-01). "Why scientists are turning to Rust". Nature. 588 (7836): 185โ€“186. doi:10.1038/d41586-020-03382-2.
  3. ^ Simone, Sergio De (2021-04-27). "Using Rust to Write Safe and Correct Linux Kernel Drivers". InfoQ. Retrieved 2022-08-04.
  4. ^ Vaughan-Nichols, Steven (2022-06-27). "Linus Torvalds is cautiously optimistic about bringing Rust into Linux kernel's next release". ZDNet. Retrieved 2022-08-04.