From nobody Tue Sep 10 18:17:21 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X3Bkb1W9Jz5WMfS for ; Tue, 10 Sep 2024 18:17:27 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X3BkY5zxKz4KlY; Tue, 10 Sep 2024 18:17:25 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id D5B7089284; Tue, 10 Sep 2024 18:17:23 +0000 (UTC) Received: (from phk@localhost) by critter.freebsd.dk (8.18.1/8.16.1/Submit) id 48AIHLMj096285; Tue, 10 Sep 2024 18:17:21 GMT (envelope-from phk) Message-Id: <202409101817.48AIHLMj096285@critter.freebsd.dk> To: Kyle Evans cc: Tomoaki AOKI , freebsd-hackers@freebsd.org Subject: Re: The Case for Rust (in any system) In-reply-to: From: "Poul-Henning Kamp" References: <49239d9a-aece-4b6b-b896-d7b4899149fc@FreeBSD.org> <20240910234949.85d5a48c9b9f7bcf945794fc@dec.sakura.ne.jp> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <96283.1725992241.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Sep 2024 18:17:21 +0000 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU] X-Rspamd-Queue-Id: 4X3BkY5zxKz4KlY Kyle Evans writes: > We've been able to use C++ in base in a safer fashion for years and that= = > simply has not happened, so one has to question the interest in alternat= ives. Have you already forgotten groff ? We used to have groff in src for the man-pages. Groff was written in C++ and since it was a "bootstraptool", any breakage was high visibility. If you look over the commitlogs, you find lots commits like: commit 504de8da7e199124a8c798b87d22e86bd57adaea Author: Marcel Moolenaar Date: Wed May 22 01:04:42 2002 +0000 = Don't build doc on ia64. No groff in sight. and = commit 2d15e757812c1653497b1079e95ef260dc3db1d6 Author: David E. O'Brien Date: Mon Nov 8 19:00:22 2010 +0000 = Back out r214961 for skeleton.c -- it broke the groff build. and many more, until we finally had enough: commit 738919c0391b99947b758d85f6a8636be1886fbb Author: Baptiste Daroussin Date: Wed Jun 7 23:00:34 2017 +0000 = Remove groff from base = All manpages in base are now compatible with mandoc(1), all roff docu= mentation will be relocated in the doc tree. man(1) can now use groff from the = ports tree if it needs. = Also remove checknr(1) and colcrt(1) which are only useful with groff= . = Approved by: (no objections on the mailing lists) I dont know or think that C++ was the root cause of all this trouble, maybe even far from, but I think we got vaccinated against C++ in src just the same. Poul-Henning -- = 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= .