One of the world's most popular programming languages is coming to Linux

Linux
(Image credit: Shutterstock / Tae Mi)

The next version of the Linux kernel will include support for popular programming language Rust, it has been confirmed.

As reported by The Register, Linus Torvalds, the creator of Linux, has now accepted a pull request that will bring Rust support to the kernel with version 6.1.

The idea is not to rebuild the entire kernel in Rust, but rather to complement the existing C codebase with new components written in the secondary language, helping to reduce the likelihood of memory bugs that lead to security vulnerabilities.

Rust in Linux 6.1

With the release of Linux 6.0 last weekend, eyes will now inevitably turn to the next version. Although the latest kernel update included only relatively unsexy changes, the addition of Rust to Linux 6.1 is considered a major addition.

According to a recent survey of 70,000 developers by StackOverflow, although Rust is not the most widely used of all languages (that’s JavaScript), it was voted “most loved” by respondents. It is also, incidentally, among the most lucrative languages for developers, commanding a median yearly salary of almost $90,000.

The campaign to bring Rust to Linux has been ongoing for some time, earning support from an array of stakeholders, including Google, which developed Android atop the Linux platform.

“We feel that Rust is now ready to join C as a practical language for implementing the kernel,” said Wedson Almeida Filho, a member of the Android team.

“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.”

Until recently, concerns around the need to build non-standard extensions for Rust in order to make it compatible with Linux have limited progress. But ultimately, it was decided the language is sufficiently well-supported in Clang, a compiler front end for the C family of languages.

The initial merge brings roughly 12,500 lines of Rust code to the kernel, laying the groundwork for subsystem abstractions and Rust-based drivers, to be introduced with future pull requests.

Following the traditional pattern, Linux 6.1 should go live within the next two to three months.

TOPICS
Joel Khalili
News and Features Editor

Joel Khalili is the News and Features Editor at TechRadar Pro, covering cybersecurity, data privacy, cloud, AI, blockchain, internet infrastructure, 5G, data storage and computing. He's responsible for curating our news content, as well as commissioning and producing features on the technologies that are transforming the way the world does business.

Read more
ExpressVPN apps running on a laptop and mobile during TechRadar's testing
What's new in Lightway 2.0? Here are the 4 biggest changes I'm excited for
ExpressVPN Lightway protocol in Rust – promo image
ExpressVPN's latest upgrade to Lightway hopes to create "the VPN protocol of the future"
Google Chrome
Linux Foundation brings together top browser makers for more "open" approach
DC-Roma RISC-V Mainboard
The rise of RISC: 2025 will be the year of the first quasi-mainstream RISC-V laptop as confirmed by the CEO of Framework but I don't think it will be ready for primetime
Red wine being poured into glass
World's most popular Windows emulator finally supports OpenGL, ARM64EC and high-DPI displays
Close up of the Linux penguin.
Best Linux distro for Windows users of 2025
Latest in Software & Services
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Autonomous finance
Quickbooks vs Quicken: what are the main strengths and weaknesses for your business
finance
Quickbooks vs Xero: which is the best for your business?
Group of people meeting
Zoom vs Google Meet: which is the best video conferencing tool for your business?
Fingers typing on a computer keyboard.
Microsoft 365 Personal vs Microsoft 365 Family: are there any real differences?
Latest in News
The Samsung Galaxy S25 Edge on display the January 22, 2025 Galaxy Unpacked event.
Leaked Galaxy S25 Edge pricing gives us a clearer idea of how the super-slim phone will fit into Samsung's lineup
Samsung Galaxy Z Flip 6 in blue
The Samsung Galaxy Z Flip SE may launch months after the Galaxy Z Flip 7
ransomware avast
Billions of credentials were stolen from businesses around the world in 2024
iPhone 12
The iPhone 17 Air could come with a key charging benefit, new leak claims
Google HEalth AI checkup updates
Google reveals 6 ways it's using AI to improve health care, from crowdsourced advice to personalized cancer treatments
ID theft
Hackers claim Orange attack, threaten to leak 1TB of data