The non-profit Internet Security Research Group (ISRG), together with financial support from Google, has contracted Linux kernel developer Miguel Ojeda to work to bring the advantages of the Rust (opens in new tab) programming language to the Linux (opens in new tab) kernel.
ISRG, which also supports the Let’s Encrypt free SSL certification authority (opens in new tab), has contracted Ojeda to work full-time on extending the use of Rust as a second language to the Linux kernel, which is written in C. Ojeda’s been working on this effort as a side-project for quite some time.
Several developers and organizations like Google have taken a fancy to Rust (opens in new tab), which brings with its memory safety guarantees that make it particularly useful for low-level systems programming.
- Here are the best Linux laptops (opens in new tab) for running Linux
- Here’s our roundup of the best laptops for programming (opens in new tab)
- Also check these best Linux distros for developers (opens in new tab)
“We understand work in something as widely used and critical as the Linux kernel takes time, but we're thrilled to be able to help the ISRG support Miguel Ojeda's work dedicated to improving the memory safety of the kernel for Everyone," said Dan Lorenc, Software Engineer at Google.
As part of his efforts, Ojeda setup the Rust for Linux group, and has even managed to add the initial infrastructure (opens in new tab) for Rust to be used within the Linux kernel in the development stream of the kernel named Linux-Next.
A couple of months back in April, Ojeda put out a request for comments (RFC) to the kernel mailing list detailing the advantages of adding Rust code to the mainline kernel, which ISRG describes as “a perfect example of the consideration and diligence that goes into his efforts.”
Even Linus Torvalds, the principal developer of the main kernel, isn’t totally opposed to the idea. While he’s admitted to having some technical reservations about it, he is willing to participate in the discussions.
Google’s interest in Rust isn’t academic. The company has already greenlighted the use of Rust (opens in new tab) in Android (opens in new tab)’s low-level system-code in order to reign in the growing number of memory-based security vulnerabilities in the mobile operating system.
- Subscribe to Linux Format magazine (opens in new tab) for more Linux and open source goodness