Should the Linux Kernel Accept Drivers Written In Rust?

Peter Reutemann <[email protected]> Sun, 1 Sep 2019 18:34:21 +1200
Newsgroups gmane.org.user-groups.linux.waikato
Message-ID <CAHoQ12JeR_usQsVDAkteVtWfDN17K0McAtfy4dYJ6F8uF_9iTQ@mail.gmail.com>
'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."'

-- source: https://linux.slashdot.org/story/19/08/31/2138249

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
wlug mailing list | [email protected]
Unsubscribe: https://list.waikato.ac.nz/mailman/listinfo/wlug