Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp968469rdd; Wed, 10 Jan 2024 05:05:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJNty9Edt1VT55ozLKcRmvBqUwNZm3kxqKknXx8oVoE3HXtnd/4EUNBqfVXKfEx9S8/8rp X-Received: by 2002:a05:6214:1d2f:b0:67a:b419:530f with SMTP id f15-20020a0562141d2f00b0067ab419530fmr1184258qvd.9.1704891953483; Wed, 10 Jan 2024 05:05:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704891953; cv=none; d=google.com; s=arc-20160816; b=S0Lm9Cw6j+wquEY/UPB0XDxprf3NScuc36DJc4UwOdpOfE3VA5DFbqHPFWrL/LsSUm abJWBk7nbev+LGK6HIf0J8UeGEyJpbZ2q2+5DC13TSP6mjd0xv17O2SfZ48nRcuWsL/o /0UfUJk+crWInwEy7KfZNESpsYD2m/rtetp+V2E/FwVP8xx44a1SGG5HdMCpicN8Ux0D OvyrMj+FfyJSkwmLoIj89NTwUaJPJmkgG3WlC7LBYGBw7RjZhjkD9ji9vP4CkPJOwqZf j9jVD9rkLw9QyobSinjn9LqtvxsAOVV7pzKyO9aJAyy4iqmGVtRCBpZmgHMZVg8bM6dI 8zTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=h0CYESXWRwPl8oqvteNiSuteSyQk0Ky/r564akScXfg=; fh=qAXxGKsGSE703el5pL991W0xJq/cZDMmYTKZLgima4s=; b=oopX/4BP+C5hClIoZiROF/zZi0cnFJEuYwlch09LRqcuKkqGWvLk9f1/jNYzgyp6f9 X7RJM+tvk/+B5WVFYPosLWBQ/WTouziQ1D+Wbjey51k0UBQzyOfe63/we3Hb+ee0g5s6 DUh16/029qfIR0IFQakPtN8T40zuhQWgxqYk/00Hdd6fHZIs4nIJ4agECH+K4Lk/WCov ZzNzfv2qfs7pwPoVJez3PxkxiFEnGYPsMcMuvpqASnpImV3RgWzOIJ7itUWWN/r96eCH auaXGNCBtPJZOyJ+42vNNY/zzSyvh12qIj/MxAhsBFEPwVvYiP1Ss6KP8j5V9ZaGBjRO uwnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22209-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n7-20020a0c8c07000000b0067f668f32basi4312771qvb.519.2024.01.10.05.05.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 05:05:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-22209-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22209-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3EA401C21529 for ; Wed, 10 Jan 2024 13:05:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFF814879A; Wed, 10 Jan 2024 13:05:47 +0000 (UTC) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A15E647F6F for ; Wed, 10 Jan 2024 13:05:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gompa.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-4299d95547eso12318911cf.0 for ; Wed, 10 Jan 2024 05:05:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704891944; x=1705496744; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h0CYESXWRwPl8oqvteNiSuteSyQk0Ky/r564akScXfg=; b=q6GKmPRI3UinucRWzsgygtv+4Hw2YL8eRdYsJGfuGgl/YQMdLCY/y9HhfT0G/eIxdt fB73bE8SYQ+/sSvQxWPhodLBxsyN10gbEOaWY+POxm5efRR7HfpB5qb75ZcYNAOQkPq7 C2/dCUSkwq7pAjWKD3Taq4Vk/iIdRhCmFY+EHBs8lHRxNoVvVSFuo1QS/drBOA5hNu4B mHn3cLrC4hpTwp5fSTKNLx70U15n3hmRz80ZTO2jX5GWVHO+eP/6xM4sZlFftHRltw7Q VzTZlH1gKHd4B6pPq8+cJN5/7LVUKIE6eJQdD/9WxrDeASwgcZokfh7eY34xJJM+yPCQ YOkA== X-Gm-Message-State: AOJu0YwYTUBCQw5dsnFfAQv8aGLNJB8XBnNiAMItAvpRwH/pbzUp3V7J X1z2RKuhxa3m7UdaccCO6Cg= X-Received: by 2002:ac8:5d89:0:b0:429:85d9:d5f1 with SMTP id d9-20020ac85d89000000b0042985d9d5f1mr909495qtx.93.1704891944386; Wed, 10 Jan 2024 05:05:44 -0800 (PST) Received: from Belldandy-Slimbook.tail03774.ts.net ([32.221.209.96]) by smtp.gmail.com with ESMTPSA id i3-20020a05622a08c300b00427e2ec0bd0sm1774371qte.73.2024.01.10.05.05.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 05:05:43 -0800 (PST) From: Neal Gompa To: jirislaby@kernel.org Cc: dhowells@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, pinskia@gmail.com, kent.overstreet@linux.dev, Neal Gompa Subject: Re: [PATCH 00/45] C++: Convert the kernel to C++ Date: Wed, 10 Jan 2024 08:04:53 -0500 Message-ID: <20240110130456.142763-1-neal@gompa.dev> X-Mailer: git-send-email 2.43.0 In-Reply-To: <938ebce3-74c5-4fcf-9de3-849271d3581d@kernel.org> References: <938ebce3-74c5-4fcf-9de3-849271d3581d@kernel.org> 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=UTF-8 Content-Transfer-Encoding: 8bit Hey all, I would like to speak in support of this too. It is not uncommon to see operating systems code written in C++ (notable examples are Haiku OS, Serenity OS, and Zircon/Fuschia) and I do feel that there are benefits to C++ for Linux code. Modern C++ (such as C++14 and newer), offers a lot of nice base language features that can make some of the kind of stuff that Linux does easier (as H. Peter Anvin has detailed in his post[1]). While I personally have some experience in a variety of programming languages, C++ and Python are my preferred tools, and I would personally be much more interested in contributing in C++ than in C. I imagine there are a lot of other folks out there who feel the same, but just don't feel like they can say it. I'll stick my neck out for those who won't. ;) Even though this started out as a "joke"[2], I really would like to see C++ code permitted in Linux. Thanks in advance and best regards, Neal [1]: https://lore.kernel.org/lkml/3465e0c6-f5b2-4c42-95eb-29361481f805@zytor.com/ [2]: https://lore.kernel.org/lkml/152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk/ -- 真実はいつも一つ!/ Always, there's only one truth!