Rust could be included in the Linux kernel in 5.20
Linux creator Linus Torvalds said Rust could be included in the Linux kernel as early as version 5.20.
Rust is a popular programming language created by Graydon Hoare while working at Mozilla, the organization sponsoring the effort. According PhoronixTorvalds said Rust could be merged into the Linux kernel in 5.2.0.
The Linux kernel is currently written largely in the C programming language. Torvalds and other contributors toyed with adding C++ support a few years ago before abandoning the effort.
See also: Timeshift backup tool finds new home at Linux Mint
Adding support for Rust would represent one of the biggest changes to the core in its history and would open the door to a number of significant improvements. Specifically, Rust was designed with safety and security in mind from the start. Rust has improved memory management tools, built-in concurrency, and provides ownership and security paradigms. Its performance and low overhead also give it an advantage over many other languages.
These various advantages have all helped give Rust a push to become the second Linux kernel development language, with Google even throwing its weight behind it.
“We believe Rust is now ready to join C as a convenient language to implement the kernel,” the company writes in its security blog. “It can help us reduce the number of potential bugs and security vulnerabilities in privileged code while playing nicely with the core core and preserving its performance characteristics.”
With support for Rust in the kernel now in sight, Linux users should start seeing the benefits sooner rather than later.