Re: The Case for Rust (in any system)

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 09 Sep 2024 08:14:06 UTC
--------
David Chisnall writes:
> On 9 Sep 2024, at 08:39, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> > 
> > But do you agree that the C++ compiler's take on things make more sense
> > than the C compiler's in these cases ?
>
> I'm not sure I've seen many places where it makes a difference. To me,
> most of the benefit of C++ comes from the ability to create types
> that enforce invariants.

I fully agree, but I am not talking about reaping "most of the benefits",
I'm talking about "how to get started with C++" and if it is worth it ?


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.