From nobody Mon Sep 9 08:20:38 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 4X2KXg55Y4z5W7bs for ; Mon, 09 Sep 2024 08:20:51 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X2KXg30kNz4Yvx; Mon, 9 Sep 2024 08:20:51 +0000 (UTC) (envelope-from theraven@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725870051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=d4v/YSh6cXAy8cj9WxmEUrtUPHNZzc5cNbRdk2MQeaw=; b=vspACIwJKNVsIYUKPr8cw9jx/+hmMlviLNnPRirWzaBXdnVjijku02I+M2ZQxrVkjPnfg+ REBMPBoU76cIMTCWiXpsJs07ieJUhIJigL9ICmRbF4mBYQaXwAJIXMakbrPQIAQRgACT0s ps4NxkAilpj1T6gefkasDU6RitJvytqD9XKwA/+dHFn24YAs35stgmXlReYSlKlyb5nfZ9 VDnNK9YqpNPdgMFyfl6XVxjdU/c8wquX1b7BUVvWimQVifguUsKICFcL/TSj2o7G0Cn6gP 77ittSCACOWG0d7bzFkueau6uBgJ3udJnTSGCax3CKiSYb2QuBCH2HfQWo5u6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725870051; a=rsa-sha256; cv=none; b=ieM8A7LmutP8W6+MwAO9H+HLbujRCRcwvfdCxkYLhlmC80SquyaDbYk93lPr7hJHZsCbxO /LHZDbEfGaOau4ccSVcWx9lKea3SNKgry4HZSQfMGm6TcywrhI5xby+O8PYW1E2mW/h/pU 1V/JmXbhaJeEPTUnckKkpauokIWFWyth2aeKfoaoWDBMCDnDQGAEEaAeTjKVvqtmTxfMXj R7slaRNjLIWhl19g9BTbCqtfS3BAfFkF7VRifI9e8fZvENrJZblIui+xjU9xjQRCTJ7Ijx c4CfJkxWsYohgbllgCH46dPBfnKQl/kg96dDkeip993nrfX9fPGLj4bu7rhbnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725870051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=d4v/YSh6cXAy8cj9WxmEUrtUPHNZzc5cNbRdk2MQeaw=; b=RVJzJk5XRXgGRKi/9o1v5GiKgG/fFsL+vKBghbobAiysPMJT8qWgq/qfAN/8YKWlpxQADi 5BMTP7GjfK5izqvVpMG/1zICFnsXLgTBI/mxG/f2qOzQL6lwFspLuYFwGiPHa8YQJK050J rMJb5Xdq98grqvJ88HRUm8OaEPXBckUGY5A+20b4wnp78JpTLgUASu/ZgabrgQWuqrDJrj Ee+y9gfsxnonNYbWkGWYDK8XiWhdgmxzuPJsSUjj6arfUFXl/9tqpx3NR0U52dW1XBzn2M pSEMrrUQdTEMstUKQrkXt1fA+FHa21lPyV2FhDNSuqyX7rnJA1rOXjelWPjDxg== Received: from smtp.theravensnest.org (smtp.theravensnest.org [45.77.103.195]) (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) (Authenticated sender: theraven) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X2KXg2R51z14Pp; Mon, 9 Sep 2024 08:20:51 +0000 (UTC) (envelope-from theraven@freebsd.org) Received: from smtpclient.apple (host109-155-136-107.range109-155.btcentralplus.com [109.155.136.107]) by smtp.theravensnest.org (Postfix) with ESMTPSA id E9E796582; Mon, 09 Sep 2024 09:20:49 +0100 (BST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: David Chisnall 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 (1.0) Subject: Re: The Case for Rust (in any system) Date: Mon, 9 Sep 2024 09:20:38 +0100 Message-Id: <4A27D042-FDEA-422F-96D9-CD546913C96A@freebsd.org> References: <202409090814.4898E6cR079209@critter.freebsd.dk> Cc: Warner Losh , Kristof Provost , Alan Somers , Dmitry Salychev , Jan Knepper , FreeBSD Hackers In-Reply-To: <202409090814.4898E6cR079209@critter.freebsd.dk> To: Poul-Henning Kamp X-Mailer: iPad Mail (21G93) On 9 Sep 2024, at 09:14, Poul-Henning Kamp wrote: >=20 > 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 ? Aside from the pointer cast issue (which can be solved by using *slightly* m= ore C++), I don=E2=80=99t see downsides to defaulting to C++ for compilation= (comdat issues in the kernel loader aside). David