Date: Mon, 09 Sep 2024 11:24:32 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: ske-89@pkmab.se Cc: freebsd-hackers@freebsd.org Subject: Re: The Case for Rust (in any system) Message-ID: <202409091124.489BOWk2082765@critter.freebsd.dk> In-Reply-To: <202409091304.aa20239@berenice.pkmab.se> References: <202409091304.aa20239@berenice.pkmab.se>
next in thread | previous in thread | raw e-mail | index | archive | help
-------- ske-89@pkmab.se writes: > On 6 Sep 2024 8:25, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote: > > The C-stewardship situation has become increasingly intolerable to > > me, and I have practically already made up my mind, that Varnish > > Cache will migrate to a defined subset of C++, roughly corresponding > > to where I think C should have been by now. > > What might that subset be? Initially it will be "better C compiler", but then we will gradually allow more and more of C++ to be used. > And how come Varnish Cache started out using C at all? We needed /really/ tight control with calls to malloc/free to get SMP performance: None of the relevant malloc's were SMP-aware in 2006. -- 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?202409091124.489BOWk2082765>