Date: Mon, 09 Sep 2024 08:14:06 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: David Chisnall <theraven@freebsd.org> Cc: Warner Losh <imp@bsdimp.com>, Kristof Provost <kp@freebsd.org>, Alan Somers <asomers@freebsd.org>, Dmitry Salychev <dsl@freebsd.org>, Jan Knepper <jan@digitaldaemon.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: The Case for Rust (in any system) Message-ID: <202409090814.4898E6cR079209@critter.freebsd.dk> In-Reply-To: <0C28DE97-D536-404E-A385-0920C12A768A@freebsd.org> References: <202409090739.4897d92v078621@critter.freebsd.dk> <0C28DE97-D536-404E-A385-0920C12A768A@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-------- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409090814.4898E6cR079209>