VOOZH about

URL: https://thenewstack.io/rust-linux-and-cloud-native-computing/

⇱ Rust, Linux and Cloud Native Computing - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-04-07 08:00:39
Rust, Linux and Cloud Native Computing
kubecon-cloudnativecon-eu-2025,
Kubecon Cloudnativecon EU 2025 / Linux / Open Source / Rust

Rust, Linux and Cloud Native Computing

Even Linus Torvalds admits that integrating Rust into Linux isn't easy, but Greg Kroah-Hartman says it's worth the trouble. 
Apr 7th, 2025 8:00am by Steven J. Vaughan-Nichols
👁 Featued image for: Rust, Linux and Cloud Native Computing

LONDON — In his keynote at KubeCon + CloudNativeCon Europe, Greg Kroah-Hartman, the Linux stable release maintainer, said that Linux, which takes in 76,000 changes annually, with 380 maintainers and 700 developers, is slowly but surely embracing Rust in the Linux kernel.

Why is the poster child for C programming incorporating the comparatively new Rust? Easy: Rust is a lot safer. Kroah-Hartman gave the example of a Bluetooth security bug that was fixed years ago, but, whoops, after looking fine for its first few years, it turns out the fix introduced a new bug. With C, this is all too common. It’s hard to make memory-safe C.

When “we write that code in Rust,” Kroah-Hartman explained, “not only do we catch the error, the compiler catches the bug for you, and that’s very, very important. We want the compiler to note the bug even before the maintainer has to look at this stuff again.”

Fewer CVEs

Since Rust’s compiler can enforce rules that prevent many of these problems at compile time, this cuts down on the number of Common Vulnerabilities and Exposures (CVEs) in the kernel.

This, in turn, is important for cloud native computing, indeed everything that runs on Linux, such as servers and washing machines, because when there’s a Linux bug today, it’s almost always a security hole because Linux works at such a low level.

Currently, the Linux kernel contains about 34 million lines of C code, with only 25 thousand lines written in Rust. However, new programs, such as GPU drivers, are being written in Rust. This shift is expected to make the code easier to understand and review, leading to improved stability over time.

That’s great, but incorporating Rust into the Linux kernel isn’t easy. Even Linux’s creator Linus Torvalds, as he readies the next Linux kernel release, has said merging Rust into Linux isn’t easy. “I decided to try to do the merge on my own, but failed. I came close, but it was good to have your example merge to see what I got wrong. I’ll learn eventually, in the meantime please do continue to give me example merges and I’ll use them as training wheels.”

Write Code for People, Then for Compilers

Except, as Kroah-Hartman pointed out, “changing kernel developers minds is hard.” For example, prominent software engineer and Linux kernel maintainer Christoph Hellwig is a C expert, but he, understandably, isn’t thrilled about needing to learn Rust as well.

Another reason you may not have thought of — I think everyone can understand not wanting to learn a new programming language — and why “we are grumpy about this [moving to Rust] is because it forces us to review our C code, and our code has evolved over the past 30 years in ways that sometimes we don’t understand it.”

So, he continued, “sometimes we need to go back and look at it and enforce the rules Rust allows us to force, to enforce rules on our C APIs in the kernel that we hadn’t known to do before. So it’s making us re-review older code, and it’s hard. The old person maintainers don’t want to do new things. They don’t want to look at their old stuff at times, but the change can be good.”

That’s because this will make maintaining the code easier. Again, we write code first for people, then compilers. This will make us last the next 30 to 40 years, make the compiler do the work for us, and this lets us, I think, have more fun for maintainers because, again, the compiler can work ahead of time.”

By making it easier for maintainers and developers, it will also “make Linux more secure for you. You can go solve your cloud native computing problems, and that’s very important for you.

TRENDING STORIES
Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting-edge PC operating system, 300bps was a fast internet connection, WordStar was the state-of-the-art word processor, and we liked it.
Read more from Steven J. Vaughan-Nichols
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.