Linus Torvalds is cautiously optimistic about bringing Rust into Linux kernel's next release (2024)

For over three decades, Linux has been written in the C programming language. Indeed, Linux is C's most outstanding accomplishment. But the last few years have seen a growing momentum to make the Rust programming languageLinux's second Linux language.At the recent Open Source Summit in Austin, Texas, Linux creatorLinus Torvald said he could see Rust making it into the Linux kernel as soon as the next major release.

After the conference, I spoke with Torvalds and he said, "I'd like to see the Rust infrastructure merging to be started in the next release, but we'll see." The next Linux release would be Linux 5.20. Torvalds and the other Linux kernel maintainers are currently working on Linux 5.19.

The average time between new mainline kernel releases is 9 to 10 weeks. That means we'll probably see 5.19 in early August. Then, if all goes well, we'd see Rust in 5.20 in late October or early November 2022.

But, Torvalds added, "I won't force it, and it's not like it's going to be doing anything really meaningful at that point -- it would basically be the starting point. So, no promises."

ZDNET recommends

The best Linux distros for beginners

Tired of Windows? Sick of paying big money for Macs? Want a better, more secure desktop? Give Linux a try.

Read now

Now, you may ask: "Why are they adding Rust at all?"

Rust lends itself more easily to writing secure software. Samartha Chandrashekar, an AWS product manager, said it "helps ensure thread safety and prevent memory-related errors, such as buffer overflows that can lead to security vulnerabilities." Many other developers agree with Chandrashekar.

Torvalds also agrees and likes that Rust is more memory-safe. "There are real technical reasons like memory safety and why Rust is good to get in the kernel."

Mind you, no one is going to be rewriting the entire 30 or so million lines of the Linux kernel into Rust. As Linux developer Nelson Elhage saidin his summary of the 2020 Linux Plumber's meeting on Rust in Linux: "They're not proposing a rewrite of the Linux kernel into Rust; they are focused only on moving toward a world where new code may be written in Rust." The three areas of potential concern for Rust support are making use of the existing APIs in the kernel, architecture support, and dealing with application binary interface (ABI) compatibility between Rust and C.

So, if everything works out, you can expect to see some memory-safe Rust in the Linux kernel later this year. After that, it will start appearing in mainstream Linux distros such as Debian, Ubuntu, SUSE Linux Enterprise Server, and Red Hat Enterprise Linux by 2023.

Related Stories:

Editorial standards

Show Comments

Linus Torvalds is cautiously optimistic about bringing Rust into Linux kernel's next release (2024)

FAQs

Linus Torvalds is cautiously optimistic about bringing Rust into Linux kernel's next release? ›

Linus Torvalds is cautiously optimistic about bringing Rust into Linux kernel's next release. Linux creator Linus Torvalds said that while he won't make any promises, he'd like to see Rust merging into the Linux kernel with the next release. For over three decades, Linux has been written in the C programming language.

Does Linus Torvalds like Rust? ›

To me, Rust was one of those things that made technical sense, but to me personally, even more important was that we need to not stagnate as a kernel and as developers." That said, Torvalds continued, "Rust has not really shown itself as the next great big thing.

Will Linux kernel be rewritten in Rust? ›

I'm going to say no. Not because you couldn't write a kernel in Rust… you totally can. It might even be useful to do that, Rust is a very interesting language. But Linux is a moving target, and I'm pretty sure there is no way you're going to get enough resources together on a rewrite to catch up with mainline.

Is the Linux kernel moving to Rust? ›

Rust's entry into the Linux kernel isn't arbitrary; it's a strategic move driven by several advantages. One of the primary benefits is the significantly improved memory safety that Rust offers.

What was Linus Torvalds quote? ›

Bad programmers worry about the code. Good programmers worry about data structures and their relationships. I like offending people, because I think people who get offended should be offended. Intelligence is the ability to avoid doing work, yet getting the work done.

How old was Linus Torvalds when he wrote Linux? ›

An avid programmer, Torvalds wrote the kernel of the Linux operating system at age 21 from his mother's apartment in Helsinki. As Wired magazine wrote in 2003, “He posted it on the Internet and invited other programmers to improve it.

Is Rust better than C++? ›

From an expert perspective, Rust is a more innovative system-level programming language. Its creators designed this language with an emphasis on security. It is worth noting that they aimed to outperform C++ by offering more secure memory management while maintaining their speed advantage.

Is Rust better than Python? ›

Rust significantly outperforms Python regarding raw performance, thanks to its zero-cost abstractions and efficient code generation. Rust's emphasis on memory safety and low-level control makes it suitable for performance-critical applications where speed and efficiency are paramount.

Is Microsoft using Rust? ›

Back in 2020, Microsoft said it was gradually switching to Rust to build its infrastructure software, away from C/C++.

Why is Linus called git? ›

The origin of the name Git

Torvalds claimed to have named Linux after himself, and he said Git (British slang for “jerk”) was no different. “I'm an egotistical b*stard, and I name all my projects after myself,” he said at the time.

How long did it take Linus to write git? ›

well, this quote from Linus Torvalds is in the article: > "So I'd like to stress that while it really came together in just about ten days or so (at which point I did my first kernel commit using git), it wasn't like it was some kind of mad dash of coding.

How does Linus Torvalds make money? ›

He gets his money, from companies, paying him for technical support, from Redhat shares and from public speaking. He was smart enough to realise that he could eventually make some money, whilst getting 13,000 contributors to continue the evolution of Linux, for free.

What does Linus Torvalds think of Java? ›

Linus Torvalds thinks Java and C++ are horrible programming languages. So, which language does he recommend for programming? He prefers C over C++ for multiple reasons, and some of them are very valid.

What is Linus Torvalds bad behavior? ›

He is known for his angry outbursts. Mild swearing and F-words drops in the Linux Kernel mailing list when he is unhappy with a kernel patch. He has even defended this behavior in the past. But it seems that he has been forced to introspect and improve his 'unprofessional' behavior.

What does Linus Torvalds think of Mac? ›

Torvalds explained he has "fairly fond memories of the 11" Macbook Air (I think 4,1) that I used about a decade ago (but moved away from because it took Apple too long to fix the screen - and by the time they did, I'd moved on to better laptops, and Apple had moved on to make Linux less convenient)."

Top Articles
How to Look Great on a Budget | 13 Tips to Spend Less on Your Appearance
Joint Development Agreement in Real Estate - Format, Importance & More!
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Selly Medaline
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 6256

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.