Technology

Rust Confirmed to Join Linux 6.1

The discussion about Rust on Linux is over. Implementation has begun. “Unless something strange happens, he [Rust] will be integrated into version 6.1,” confirmed Linus Torvalds, creator of Linux, in an interview with . The introduction of the Rust programming language into the Linux kernel has been planned for some time now. In 2020, developers began to consider using the Rust language. language for new embedded Linux code. Google, which supports the development of Rust for Android, which itself is a Linux distribution, began pushing for Rust to be integrated into the Linux kernel in April 2021.

As Wedson Almeida Filho of the Google Android team said at the time, “We believe that Rust is now ready to join C as a convenient language for core implementation. This can help us reduce potential bugs and security vulnerabilities in privileged code while playing.” matches perfectly with the main core and maintains its performance characteristics.

However, it took some time to convince the core developers of the Linux kernel. Some feared that non-standard Rust extensions were needed to run on Linux. For example, with the new NVMe driver in Rust Linux, over 70 extensions had to be made to make Rust work.

Important first step

This question was still up in the air at the Linux Kernel Maintenance Summit. In the end, it was decided that Rust was well enough supported by Clang – the front-end compiler of the C family of languages ​​- to move on. “Clang works, so merging Rust will probably help, not hurt the core,” Linus Torvalds said earlier.

The fact that Rust for Linux has become much more mature has also helped Rust. Additionally, Andreas Hindborg, Principal Engineer at Western Digital, showed that it is possible to write a first-class NVM-Express (NVMe) SSD driver for Linux in Rust. The maintainers were convinced that it was time to bring Rust to Linux. In short, they agreed that Rust for Linux is ready to go.

The only drawback: Linus Torvalds, however, warned that in this first version, Rust will have “only basic infrastructure (that is, until there are serious use cases)”. However, this remains an important first step for Rust and Linux.

Source: .com

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker.