Linus revealed that Linux Kernel 5.14 maybe support Rust
According to the ITWire report, in an interview with Linus Torvalds, regarding the Linux kernel’s support for Rust, Linus responded that the Linux kernel does not yet support Rust and added that “getting to the point where maybe it might be mergeable for 5.14 or something like that.”
Linus said that the Linux kernel’s support for Rust is still in the early stages, but at least related work has been carried out. ITWire mentioned to Linus that someone had commented on Google’s long article on the use of Rust development in the Linux kernel on LWN. Some people in the comment thought that C++ should be used instead of Rust.
In this regard, Linus couldn’t help laughing, “LOL,” was his response. “C++ solves _none_ of the C issues, and only makes things worse. “For people who don’t like C, go to a language that actually offers you something worthwhile. Like languages with memory safety and [which] can avoid some of the dangers of C, or languages that have internal GC [garbage collection] support and make memory management easier. “C++ solves all the wrong problems, and anybody who says ‘rewrite the kernel in C++’ is too ignorant to even know that.”
Linus said that if you don’t like the C language, you can choose a language that can really provide you with value. For example, it has memory safety and can avoid some of the drawbacks of the C language, or a language that supports internal GC and makes it easier to manage memory.
Linus believes that “C++ solves all the wrong problems, and anybody who says ‘rewrite the kernel in C++’ is too ignorant to even know that.”