Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1488680rdd; Thu, 11 Jan 2024 00:06:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IESWptBSZ4etz0mbwuR7u+7l2Ukn7fe3PoFlAG4KBInMWiptC7X4DZhvufN1ysFlXEarGtl X-Received: by 2002:a05:620a:81d:b0:783:916:bd9c with SMTP id s29-20020a05620a081d00b007830916bd9cmr925187qks.11.1704960386364; Thu, 11 Jan 2024 00:06:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704960386; cv=none; d=google.com; s=arc-20160816; b=kDFgKWn/G7bX4KjHBi6PKIIchIcBUpwZ+sDYXZRchBBcycu6qFdPPrMJaNIdpePJDn VCWFl9XZ17oA7GAxwoBgIBtgpiCxJ83PTfdEIbCZpGQbkpiYdKOkG8d0OIctyko+el/T 8CXFL+8XfFHYiUaO/P5y6imRltLBctGc364qB3QPC1eYr9DlWwPZBi7V4g0faDaOZkZ0 x0XohwKntdHEr1yC24DioVNhl74YidheOOQRZwnVPSw/xqQ1EEZ+6tmfmtQoRuN9mW07 uAwkxywHLXbAFB4o06+nl2YuOY87cEdZK6xqsVrPU44u3dz38dXh4/3HnbhZz5vgSbLB n3uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature:dkim-signature:dkim-signature; bh=SrlouPu7lYbcAZ19XcJtQf5G/BZvUSRNLHHXsJSm7L8=; fh=mJ2vvTjr9CWN5rngVSu2oNNBCHA8//ogJacd3cvuHSg=; b=GMeCtXQEPJyKttVCwHxegx529umiZLA85NQmHrpFCtBonPDm4UeFApfeF1FMMIYd7t O2uvDEkNhUtEqVFZNb9oiGYc2FQXfHWSTDib7aLyTP13VGx754FX7qjNohtZe4yQWhc6 8bcv4ePiMhbjpt8a1u3Bn5QS6+Xp76xvBxqj150NCRoclUa8XW1f7COF4Z/Cp3SQD0GH gPkM7pdmQ0rP/8VPas3AYUafhmTPHXCPwAPAPHsNVTbLpoNMQv/Jw1rXmbNxmPqbX8Nz CnJUJjBDIPV12KbiCkaq+JlDGgpMvoKH2r7kKwFWUxbQ6uGArpkvecc+YVR0jluFC2Gx KXgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MkcXV7QH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MkcXV7QH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=raBg4Mh0; spf=pass (google.com: domain of linux-kernel+bounces-23182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23182-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o2-20020a05620a22c200b0078322b9b513si442410qki.746.2024.01.11.00.06.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 00:06:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23182-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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MkcXV7QH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MkcXV7QH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=raBg4Mh0; spf=pass (google.com: domain of linux-kernel+bounces-23182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23182-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 217461C21762 for ; Thu, 11 Jan 2024 08:06:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A90AD52D; Thu, 11 Jan 2024 08:06:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="MkcXV7QH"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="raBg4Mh0"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="MkcXV7QH"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="raBg4Mh0" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (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 7AC1AD2FD for ; Thu, 11 Jan 2024 08:06:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (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) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 30FC121C9A; Thu, 11 Jan 2024 08:05:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704960282; h=from:from:reply-to: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=SrlouPu7lYbcAZ19XcJtQf5G/BZvUSRNLHHXsJSm7L8=; b=MkcXV7QHPBmxYpq98MNfbOA3DWKC8ePOXqnroMeWRr0H7pkKlIVP9gysf2KmSeozT9QQs0 s8KMJC34Bd8WvVipoIph2ToNHGr7iPODX8na2dvdFtpCDn4rE3TFSDbeqBxV9UYdgfhIxj w9ni6C+tJtnxyvKFF/LEXsMHupG7aHw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704960282; h=from:from:reply-to: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=SrlouPu7lYbcAZ19XcJtQf5G/BZvUSRNLHHXsJSm7L8=; b=raBg4Mh0V1rLVyPJ4QttefO8fNJCcNZVkVvcYP0SQrwuQfPlkxhrBBxjkkwcb2In1/OJfP eUCSGyfaMUhplGCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704960282; h=from:from:reply-to: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=SrlouPu7lYbcAZ19XcJtQf5G/BZvUSRNLHHXsJSm7L8=; b=MkcXV7QHPBmxYpq98MNfbOA3DWKC8ePOXqnroMeWRr0H7pkKlIVP9gysf2KmSeozT9QQs0 s8KMJC34Bd8WvVipoIph2ToNHGr7iPODX8na2dvdFtpCDn4rE3TFSDbeqBxV9UYdgfhIxj w9ni6C+tJtnxyvKFF/LEXsMHupG7aHw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704960282; h=from:from:reply-to: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=SrlouPu7lYbcAZ19XcJtQf5G/BZvUSRNLHHXsJSm7L8=; b=raBg4Mh0V1rLVyPJ4QttefO8fNJCcNZVkVvcYP0SQrwuQfPlkxhrBBxjkkwcb2In1/OJfP eUCSGyfaMUhplGCQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id BD17813635; Thu, 11 Jan 2024 08:04:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id Bz6nLBqhn2X0ZQAAD6G6ig (envelope-from ); Thu, 11 Jan 2024 08:04:42 +0000 Date: Thu, 11 Jan 2024 09:06:34 +0100 From: Andreas Herrmann To: Neal Gompa Cc: 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: <20240111080634.GB4609@alberich> References: <938ebce3-74c5-4fcf-9de3-849271d3581d@kernel.org> <20240110130456.142763-1-neal@gompa.dev> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240110130456.142763-1-neal@gompa.dev> Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [0.40 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_SEVEN(0.00)[7]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[kernel.org,redhat.com,zytor.com,vger.kernel.org,gmail.com,linux.dev]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[33.31%] X-Spam-Level: X-Spam-Flag: NO X-Spam-Score: 0.40 On Wed, Jan 10, 2024 at 08:04:53AM -0500, Neal Gompa wrote: > Hey all, Hi, > 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. ;) I had some doubts, when I've seen hpa's thread and first I've thought of it rather as a threat. But now this paragraph totally convinced me. > Even though this started out as a "joke"[2], I really would like to > see C++ code permitted in Linux. Great, let University of Minnesota contribute the code. > 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! PS: IMO, Rust shouldn't have been allowed into the kernel tree (a gut feeling). But who am I. -- Regards, Andreas SUSE Software Solutions Germany GmbH Frankenstrasse 146, 90461 Nürnberg, Germany GF: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)