r/linux • • Apr 15 '21

Kernel Rust in the Linux kernel

https://security.googleblog.com/2021/04/rust-in-linux-kernel.html
103 Upvotes

66 comments sorted by

View all comments

Show parent comments

-16

u/[deleted] Apr 15 '21

[removed] — view removed comment

12

u/ssokolow Apr 15 '21 edited Apr 15 '21

This entire language is trivial code generation and stdlib restricted into oblivion. You can implement 95% of this in C, and the rest will never be used in kernel anyway.

Then I'm surprised Microsoft, Apple, Google, Mozilla, and Canonical all chose to live with 65-90% of their CVEs being memory vulnerabilities, given the amount of money and/or developer effort they throw at other things.

What science can tell us about C and C++'s security - Alex Gaynor

-7

u/[deleted] Apr 15 '21

[removed] — view removed comment

8

u/ffscc Apr 15 '21

But now they want to impose their crappy "solutions" onto everyone else, and this is not OK

This is just scaffolding for driver code. Honestly what's the big deal? Core kernel functionality is going to be pure C for a long time to come.