Rust For Linux No Longer Experimental
Written by Harry Fairhead   
Monday, 15 December 2025

Linux maintainers attending the Linux Kernel Maintainers Summit have said that Rust in the Linux kernel should no longer be treated as experimental, but rather as a core part of the kernel.

In practical terms, the change to Rust in the kernel no longer being experimental is simply a matter of removing "The Rust experiment" section of the kernel's documentation.

 linuxrust

The move to rewrite parts of the Linux kernel began with a discussion in 2019 at the Linux Security Summit that concluded that around two-thirds of Linux kernel vulnerabilities derive from memory safety issues.

By using Rust, which has inherently safer APIs, these vulnerabilities could be overcome. A presentation at the Linux Plumbers Conference in August 2020 by John Baublitz, Nick Desaulniers, Alex Gaynor, Miguel Ojeda, Geoffrey Thomas, Josh Triplett explained progress, and Google stepped in in 2021 to provide financial support to project.

At that point, the project was moved under the auspices of the ISRG's  Prossimo project which aims to coordinate efforts to move the Internet’s critical software infrastructure to memory safe code. While this is an open source project with several contributors, funding from Google meant that from April 2021 Miguel Ojeda, who had been working on Rust for Linux as a side-project, had a contract  to work on it full time for a year. 

In April 2021. Ojeda posted an RFC about Rust support in the Linux kernel in which he pointed out that the project was limited in its aims with:

Please note that the Rust support is intended to enable writing drivers and similar "leaf" modules in Rust, at least for the foreseeable future. In particular, we do not intend to rewrite the kernel core nor the major kernel subsystems (e.g. `kernel/`, `mm/`, `sched/`...). Instead, the Rust support is built on top of those. 

Explaining why Rust should be the language of choice, he noted the following advantages Rust offers over C in the context of the Linux kernel:

  • No undefined behavior in the safe subset (when unsafe code is sound), including memory safety and the absence of data races.
  • Stricter type system for further reduction of logic errors.
  • A clear distinction between safe and `unsafe` code.
  • Featureful language: sum types, pattern matching, generics, RAII, lifetimes, shared & exclusive references, modules & visibility, powerful hygienic and procedural macros...
  • Extensive freestanding standard library: vocabulary types such as `Result` and `Option`, iterators, formatting, pinning,
    checked/saturating/wrapping integer arithmetic, etc.
  • Integrated out of the box tooling: documentation generator, formatter and linter all based on the compiler itself.

Overall, Rust is a language that has successfully leveraged decades of experience from system programming languages as well as functional ones, and added lifetimes and borrow checking on top.

While the early work was in limited areas, an increasing subset of Linux has been ported to Rust, especially drivers and higher-level utilities. 

Following the discussions at the Linux Plumbers Conference, Miguel Ojeda has now told the kernel mailing list that he is comfortable in declaring Rust for the Linux kernel a success, and will drop the "experiment" flag. 

Ojeda told the list that the experiment has just been deemed concluded, continuing:

"Obviously, this does not mean that everything works for every kernel configuration, architecture, toolchain etc., or that there won't be new issues. There is still a ton of work to do in all areas, from the kernel to upstream Rust, GCC and other projects. And, in fact, certain combinations (such as the mixed GCC+LLVM builds and the upcoming GCC support) are still quite experimental but getting there. But the experiment is done, i.e. Rust is here to stay."

 

linuxrust

More Information

Rust for Linux/linux

Ojeda's Post On Mailing List

Rust For Linux Paper

Related Articles

Rust Revolt In Linux

Rust And C++ Should Be Friends?

Rust Bringing Greater Safety To Linux

Linus On Linux 2024

Facebook Open Source Joins Rust Foundation

Microsoft Offers Rust For Windows

Amazon AWS Invests In Rust

Google Supports Rust For Android OS Development

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Scrimba's Backend Developer Path
25/11/2025

Scrimba has added a Backend Developer Path, focused on the JavaScript ecosystem, to its catalog. It is very project-focused, which is perfect for building a portfolio. It is one of Scrimba's [ ... ]



Cursor 2 Enables Multi-Agent Working
18/11/2025

The developers of the AI coding editor Cursor have announced a new version that can be used to work with multiple agents and includes its first coding model.


More News

pico book

 

Comments




or email your comment to: comments@i-programmer.info