Re: The Case for Rust (in any system)

From: David Chisnall <theraven_at_freebsd.org>
Date: Fri, 06 Sep 2024 07:05:07 UTC
On 5 Sep 2024, at 21:17, Warner Losh <imp@bsdimp.com> wrote:
> 
> Without enough resources,
> the rewrites will be crap and nobody will want to use them (or maybe even
> FreeBSD). The rewrites to date have lost functionality (though maybe not
> functionality that's important) relative to what they replace.

The new Windows sudo tool is a good example of this. It was written in Rust and, as far as I know, no one has found any memory safety errors. Some large categories of potential vulnerabilities were eliminated by construction, which is great. Unfortunately, that didn’t stop it having a terrible security architecture that allowed remote privilege elevation. You don’t just need competent Rust programmers, you need competent Rust programmers who are domain experts.

David