SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    Linus Torvalds: Rust Will Go Into Linux 6.1
Date    Tuesday September 20 2022, @05:04AM
Author    janrinok
Topic   
from the dept.
https://soylentnews.org/article.pl?sid=22/09/19/1826218

upstart writes:

News and Advice on the World's Latest Innovations:

The Rust in Linux debate is over. The implementation has begun. In an email conversation, Linux's creator Linus Torvalds, told me, "Unless something odd happens, it [Rust] will make it into 6.1."

The Rust programming language entering the Linux kernel has been coming for some time. At the 2020 Linux Plumbers Conference, developers started considering using the Rust language for new Linux inline code. Google, which supports Rust for developing Android -- itself a Linux distro -- began pushing for Rust in the Linux kernel in April 2021.

As Wedson Almeida Filho of Google's Android Team said at the time, "We feel that Rust is now ready to join C as a practical language for implementing the kernel. 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."

It took a while to convince the top Linux kernel developers of this. There were concerns about non-standard Rust extensions being needed to get it to work in Linux. For instance, with the new Rust Linux NVMe driver, over 70 extensions needed to be made to Rust to get it working. But, Torvalds had told me in an earlier interview, "We've been using exceptions to standard C for decades."

This was still an issue at the invitation-only Linux Kernel Maintainers Summit. But, in the end, it was decided that Rust is well enough supported in the Clang -- the C language family compiler front end -- to move forward. Besides, as Torvalds had said earlier, "Clang does work, so merging Rust would probably help and not hurt the kernel."

[...] Now, Torvalds warns in this first release, Rust will "just have the core infrastructure (i.e. no serious use case yet)." But, still, this is a major first step for Rust and Linux.


Original Submission

Links

  1. "upstart" - https://soylentnews.org/~upstart/
  2. "News and Advice on the World's Latest Innovations" - https://www.zdnet.com/article/linus-torvalds-rust-will-go-into-linux-6-1/
  3. "Rust programming language" - https://www.rust-lang.org/
  4. "Linux Plumbers Conference" - https://www.linuxplumbersconf.org/
  5. "Rust language for new Linux inline code" - https://linuxplumbersconf.org/event/7/contributions/804/attachments/641/1168/barriers-to-in-tree-rust.pdf
  6. "Rust in the Linux kernel in April 2021" - https://security.googleblog.com/2021/04/rust-in-linux-kernel.html
  7. "said at the time" - https://security.googleblog.com/2021/04/rust-in-linux-kernel.html
  8. "Rust Linux NVMe driver" - https://www.phoronix.com/news/LPC-2022-Rust-Linux
  9. "earlier interview" - https://www.zdnet.com/article/linus-torvalds-talks-rust-on-linux-his-work-schedule-and-life-with-his-m2-macbook-air/
  10. "Linux Kernel Maintainers Summit" - https://events.linuxfoundation.org/linux-kernel-maintainer-summit/
  11. "Clang" - https://docs.rs/clang/latest/clang/
  12. "said earlier" - https://www.zdnet.com/article/linus-torvalds-talks-rust-on-linux-his-work-schedule-and-life-with-his-m2-macbook-air/
  13. "Original Submission" - https://soylentnews.org/submit.pl?op=viewsub&subid=56915

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, Linus Torvalds: Rust Will Go Into Linux 6.1 on 2024-04-24 13:37:55