Linux creator Torvalds has reportedly committed to bringing Rust to the operating system

In an email received by ZDNet, Torvalds said that the programming language will make it to version 6.1 of the Linux OS “unless something odd happens”

The Rust in Linux debate is over.

April 14, 2021
Rust in the Linux kernel

Google, which supports Rust for developing Android -- itself a Linux distro -- began pushing for Rust in the Linux kernel in April 2021

security.googleblog.com/2021/0

Wedson Almeida Filho of Google's Android Team said at the time

"We feel that Rust is now ready to join C as a practical language for implementing the kernel. It can help us reduce the number of potential bugs and security vulnerabilities in privileged code while playing nicely with the core kernel and preserving its performance characteristics."

Follow

It took a while to convince the top Linux kernel developers of this. There were concerns about non-standard Rust extensions being needed to get it to work in Linux. For instance, with the new Rust Linux NVMe driver

phoronix.com/news/LPC-2022-Rus

over 70 extensions needed to be made to Rust to get it working

Torvalds said in an earlier interview, "We've been using exceptions to standard C for decades."

zdnet.com/article/linus-torval

in the end, it was decided that Rust is well enough supported in the Clang -- the C language family compiler front end -- to move forward.

docs.rs/clang/latest/clang/

Besides, as Torvalds had said earlier, "Clang does work, so merging Rust would probably help and not hurt the kernel."

zdnet.com/article/linus-torval

It also helped Rust's case that -- thanks to the ground-breaking work of kernel and Rust developer Miguel Ojeda -- Rust on Linux has gotten much more mature

(PDF URL)

lpc.events/event/16/contributi

Andreas Hindborg, a Western Digital Principal Engineer, at the 2022 Linux Plumbers Summit, showed you could write a first-rate driver, an SSD NVM-Express (NVMe) driver for Linux in Rust.

blog.desdelinux.net/en/western

The maintainers were convinced it was time to move forward with Rust in Linux.

In short, they agreed that Rust on Linux was ready for work

>>>EnD<<<

Now, Torvalds warns in this first release, Rust will "just have the core infrastructure (i.e. no serious use case yet)." But, still, this is a major first step for Rust and Linux

>>>NoW EnD<<<

Sign in to participate in the conversation

CounterSocial is the first Social Network Platform to take a zero-tolerance stance to hostile nations, bot accounts and trolls who are weaponizing OUR social media platforms and freedoms to engage in influence operations against us. And we're here to counter it.