Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1149954rdd; Wed, 10 Jan 2024 10:03:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHw9a14Q5D7orKTfGfGhLfHzNpp3GrGTWumEZPCrU9RJNAraRz5WCp8ubeIS0S5WYlK6bW3 X-Received: by 2002:a05:6a00:a20:b0:6da:ca92:3e2e with SMTP id p32-20020a056a000a2000b006daca923e2emr682817pfh.7.1704909795307; Wed, 10 Jan 2024 10:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704909795; cv=none; d=google.com; s=arc-20160816; b=tYdGcnr+G5zxJb7CkrUTX4KhNCjIbgTIvKTLQJV7mgpB0+Oe8qudkFrxYrRnSbb99g pV1b6y+O58CLHyLIZsuEfYnzX9qaIEOKE3xHASP9vF93zC74ZJZ/IG3Q9Uyy/2wQneO+ JvML/pJGgavtekhbW1fx00GXtVt/7z8PI47a0SJIXINjwlTRKbnt1RcDFSFF1D+I5NeQ 8nZM2RDLL6gMuuIBEuj6mVHceBjvQQBg7hdDMshKt02//y9WyNsI0/SaTqaxTbxEcUOS 8Xb0pXgavFZUm+ztE5/AdrEAICSFsFo9grzTSZ/POHhVMFVlfbwv24/Iy7PLqEYtrPuz T02g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nqWp1AlnbuwZfJoqzj4xQjy815p073VnxMNvr20+I7M=; fh=qKrVFw0Gr/hGKyZqem2Hi7s6a0hk7hNjeoW/+6JHxkc=; b=CWotLG3dpm7qmI98NYzE8M8/ymj9tuPnXWtMTwqpn6+Kr28ahF0hmtMdF4hLcUW4q7 82U2ZTgcKAQQKGldchSkeYwPh3K5QVvcSXsYq6M8U29F5OQVk/zcGEKfnB7JvGJEuDRy Eihhsyuqo9jp6Lxre2YyeKhtsKeNB7RbYAgEbpAofUQL7vdaJeJNzY1+zuZHQVgGeTXQ v6DPdVvKaoxBTD0eZ7ejqIYOdwFwcc4kjKNa3W+m2KdznAnROXco0GaKycXRQOcrgN6J ddDc1O+GTJkz6ZF/CC2TJBNg+xDlEgurfrwIKTykvnUAfRgPf4eFqWd9LzY2AurCPcsu EQow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=Y4jDqD9u; spf=pass (google.com: domain of linux-kernel+bounces-22581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22581-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lb15-20020a056a004f0f00b006d9a42d1cdcsi4121080pfb.11.2024.01.10.10.03.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 10:03:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=Y4jDqD9u; spf=pass (google.com: domain of linux-kernel+bounces-22581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22581-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B8F0BB236CF for ; Wed, 10 Jan 2024 17:59:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DFC14D135; Wed, 10 Jan 2024 17:58:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="Y4jDqD9u" Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A0774CB3F for ; Wed, 10 Jan 2024 17:58:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Received: from cwcc.thunk.org (pool-173-48-122-95.bstnma.fios.verizon.net [173.48.122.95]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 40AHvtIZ003037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 12:57:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1704909479; bh=nqWp1AlnbuwZfJoqzj4xQjy815p073VnxMNvr20+I7M=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=Y4jDqD9uXbdLRKZsbpQvfv7Aj1Nz8irUOHs/iscGs8Oxsl1EBceZSPIaLMf/jnm77 OILETpJr8r5E6GMHekO8yZoOfjuSnYP/zWxQvVVnxJgV0fJaU2YJ2En1BtQMsPjBQF jyYEZ/nrzcV960fMdtUrIVSHmnooOuffKwlYxi6SwjrHPmgeEBz9nqyHVcZeeSu0fu DSOhV8EShOzBfRTf8sUnCdnxQFyVX+Hu1mpyuOEslFDYGUkx7RgM8f245LiGDaoYex ZJm7KyMNGNVTjvMXXHCl8GU18JPYVHt6pYeMEybssU0FGPcRLyVfPK1J5cAiROynvw I/t+shh/j1+rg== Received: by cwcc.thunk.org (Postfix, from userid 15806) id BF11B15C0276; Wed, 10 Jan 2024 12:57:55 -0500 (EST) Date: Wed, 10 Jan 2024 12:57:55 -0500 From: "Theodore Ts'o" To: Neal Gompa Cc: Jason Gunthorpe , jirislaby@kernel.org, dhowells@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, pinskia@gmail.com, kent.overstreet@linux.dev Subject: Re: [PATCH 00/45] C++: Convert the kernel to C++ Message-ID: <20240110175755.GC1006537@mit.edu> References: <938ebce3-74c5-4fcf-9de3-849271d3581d@kernel.org> <20240110130456.142763-1-neal@gompa.dev> <20240110155233.GA623732@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jan 10, 2024 at 11:25:29AM -0500, Neal Gompa wrote: > > For what it's worth, I'm totally in favor of C++20 as well. I've > mostly written C++17 as of late and it is really nice to me, but I'm > genuinely excited about C++20 and newer revisions. > > I also think that Linux adopting C++ and intentionally adopting safety > features that exist and are being added to C++ over time would also > further encourage the ecosystem to use them as well as make the Linux > codebase much easier to work with. Can someone speak to whether the C++ standards committee and C++ compiler implementations are more or less unreasonable compared to their C counterparts regarding compilers being able to arbitrary statement reordering, or other random futzing all in the name of better benchmarks, but which make life a living nightmware for honest kernel developers? - Ted