r/linux • • Apr 14 '21

Kernel [RFC] Rust support in the Linux kernel

https://lkml.org/lkml/2021/4/14/1023
608 Upvotes

316 comments sorted by

View all comments

Show parent comments

7

u/[deleted] Apr 15 '21

I think the "how much" depends on yes, the amount of errors, but also what kind of errors. Some are pretty easy to catch (e.g. forgotten semicolon) and some are harder (e.g. buffer overflow). And harder errors obviously take longer.

-2

u/continous Apr 15 '21

I think the "how much" depends on yes, the amount of errors, but also what kind of errors.

Even then, the issue is that a 5-10x increase to find a single, even if major, error, is a massive time increase. The assumption as well, here, is that implementing rust will automatically find these problems. That's a large assumption.

1

u/[deleted] Apr 15 '21

Yeah, it definitely depends on how much longer it's going to take, how many and how severe the errors are, and on how well the compiler is at finding them.