Re: Rust kernel policy
From: Greg KH
Date: Thu Feb 20 2025 - 07:38:01 EST
On Thu, Feb 20, 2025 at 01:28:58PM +0100, Jan Engelhardt wrote:
>
> On Wednesday 2025-02-19 06:39, Greg KH wrote:
> >
> >The majority of bugs (quantity, not quality/severity) we have are due to
> >the stupid little corner cases in C that are totally gone in Rust.
>
> If and when Rust receives its own corner cases in the future,
> I will happily point back to this statement.
I'm not saying that rust has no such issues, I'm saying that a huge
majority of the stupid things we do in C just don't happen in the same
code implemented in rust (i.e. memory leaks, error path cleanups, return
value checking, etc.)
So sure, let's make different types of errors in the future, not
continue to make the same ones we should have learned from already
please :)
thanks,
greg k-h