Google is Trying Hard to Use Rust Code in the Linux Kernel

Google is funding a project to improve the Linux security by writing the kernel part of the OS in the Rust programming language.

The recently announced proposal to make the Rust programming language one of two main languages for the Linux kernel is getting a major boost. The main goal of the push to bring Rust to Linux is to wipe out an entire class of memory-related security bugs in the kernel.

Google’s investment in Rust will take the form of a contract for Miguel Ojeda, who’s worked on programming language security, to write software in Rust for the Linux kernel. The new contract gives Ojeda a full-time paycheck to continue memory safety work he was already doing on a part-time basis.

As you can guess, introducing a second language into the Linux kernel isn’t a light decision. Historically, the major Linux drivers that make up the kernel were written in C, which isn’t memory-safe, but Rust does.

If the project succeeds, it’ll be possible to add new elements written in Rust into the heart of Linux. Adding Rust modules to the Linux kernel could improve security for phones, computers and servers, because the Linux kernel is used in all the different Linux distributions, and it is also the core kernel for Android, ChromeOS, and many embedded systems.

Rust was developed by Mozilla, the developer of the Firefox browser, and is now managed by the independent Rust Foundation. It is an open-source systems programming language that focuses on speed, memory safety and parallelism. In addition, Rust has been Stack Overflow’s most loved language for five years in a row.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%