Packt’s recent story about Rust had the headline “Rust is the future of systems programming, C is the new Assembly.”

But there was an interesting discussion about the story on LWN.net. One reader suggested letting people write drivers for the Linux kernel in Rust. (“There’s a good chance that encouraging people to submit their wacky drivers in Rust would improve the quality of the driver, partly because you can focus attention on the unsafe parts.”)

And that comment drew an interesting follow-up:
“I spoke with Greg Kroah-Hartman, and he said he’d be willing to accept a framework in the kernel for writing drivers in Rust, as long as 1) for now it wasn’t enabled by default (even if you did “make allyesconfig”) so that people don’t *need* Rust to build the kernel, and 2) it shows real benefits beyond writing C, such as safe wrappers for kernel APIs.”

Share on Google+

of this story at Slashdot.

…read more

Source:: Slashdot