Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp847348rdd; Wed, 10 Jan 2024 00:59:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCLmIkXD1t1iG1E4nTAddr5qxocnhvpxLtY2fqWf909VAdwTid4QXPdnson7a2CuuPbsDd X-Received: by 2002:ac8:5990:0:b0:429:9a6f:b004 with SMTP id e16-20020ac85990000000b004299a6fb004mr761768qte.111.1704877146145; Wed, 10 Jan 2024 00:59:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704877146; cv=none; d=google.com; s=arc-20160816; b=IMqdlVX0OYDlXfciR0UUjsK5C7RjMdCIGdgm4GNI6egblz9g2afBbjgzlGcdvLfB8V X0QWzOO41cHqtkMSQNC9pwXOJK/5l29zpFQFgQeAkiAoSAxJjVtyyo5all/IhO6T/iky UejNTEAfmFTHB+7bF++bXpstcae64BURZXKkOlFQN/nWsFTNKMz+g2gBbMfd57m4+bk0 ZuJz286q2Ymk6NTZz45l5Ay9HLmpoDPotJg5MAY5wF6aZqtEb9Wa5DT4774dM2+IXJZn iUujpGJGYAS2evddHrT33m+PYQISIafggMlHd+vKfFQ4+JdGgML6ynsXNBsd285cYvEc XAXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=rPR3oGkejeU/7jN23VCpqoaM71KDTdyDcxfepsqVcXM=; fh=3BY6NuDp3LApJxIQdpc3rqp2BwqSysLKeyZs53IOIyQ=; b=U2BBC2h2cBZnSorbiqosKGJ3tLCxKxazLdscOHRr9jcY0h69nzIYnrW3W63Nt85SXY G0SsTOI3AeU5J185QzkeLEztYh8VVRAf/K1DZZ8brJB+FkPvp3EhhlatONylw3+E7hZZ qT7O5bBpMoCxyS67qwMQHxerj+nkIPJ5XI/PAc1BVl89ax0V4UrcbbZiEsTuQ4tLkjOv sJVbJw0jdjHxXTktcbJ5FD8LIFmIfHRz6Y0lSemyzY1auvJyEe8QqT0wFf8qifcaPGrX hgkhE5niLtPtGHEIjCpvvv0lKBc9VYSDMQPupivtUZldlOsTprLIwMq6Y1mdb1G+Wax3 InKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-21868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 u11-20020a05622a14cb00b00429a31bf610si3497933qtx.70.2024.01.10.00.59.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 00:59:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21868-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-21868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 E3E4B1C25070 for ; Wed, 10 Jan 2024 08:59:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80FC03A8C6; Wed, 10 Jan 2024 08:58:59 +0000 (UTC) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 7BE7136B0D for ; Wed, 10 Jan 2024 08:58:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a27733ae1dfso437219166b.3 for ; Wed, 10 Jan 2024 00:58:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704877135; x=1705481935; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rPR3oGkejeU/7jN23VCpqoaM71KDTdyDcxfepsqVcXM=; b=ZzMiOXkXlNJ3w+9FLE3QCmmDj6goui30Yjm041jMPwhLFYFD1k6Z6TEZY4F6q6TfdQ MLo9K4IMQ9eYWjUrbKKhk2RwcICvSxGsHu3M9nM/nLx3gcyVpGIf+Fu4D+pmo3qK9FTJ ZpykYTICbMR9FyFs0+COtMIBN3k7PRxIMSv0XF7GB6pta/RfdnPEZd080s/hK58CVFux 5WuuE1bE/H3XArH+aICtFn/5pLILlNszrnp3NDkpxAex+TM/JW5UeQsQB37iXzIZVXvM JmONzUj6rj2Tf2XyymLflHVYS5tDvos5uvjEL6SbiFfqFHSJnj6RETfhM5lVztfEAkVO d5bA== X-Gm-Message-State: AOJu0YwMGgNUQit0UhHNjwmxz5pMhPZQ3ZqYyTmmI0ETctGhMEA6xDuK 1eb4jlyxU8eswMTLLSw85ZoG6qmVq6Wl1A== X-Received: by 2002:a17:906:3750:b0:a2b:1a80:7b8f with SMTP id e16-20020a170906375000b00a2b1a807b8fmr209662ejc.99.1704877135539; Wed, 10 Jan 2024 00:58:55 -0800 (PST) Received: from ?IPV6:2a0b:e7c0:0:107::aaaa:59? ([2a0b:e7c0:0:107::aaaa:59]) by smtp.gmail.com with ESMTPSA id bm3-20020a170906c04300b00a2a4efe7d3dsm1872834ejb.79.2024.01.10.00.58.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 00:58:55 -0800 (PST) Message-ID: <938ebce3-74c5-4fcf-9de3-849271d3581d@kernel.org> Date: Wed, 10 Jan 2024 09:58:54 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/45] C++: Convert the kernel to C++ Content-Language: en-US To: "H. Peter Anvin" , David Howells , linux-kernel@vger.kernel.org, pinskia@gmail.com References: <152261521484.30503.16131389653845029164.stgit@warthog.procyon.org.uk> <3465e0c6-f5b2-4c42-95eb-29361481f805@zytor.com> From: Jiri Slaby Autocrypt: addr=jirislaby@kernel.org; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0Fjsualwb0Gwdx ReTZzMgheAyoy/umIOKrSEpWouVoBt5FFSZUyjuDdlPPYyPav+hpI6ggmCTld3u2hyiHji2H cDpcLM2LMhlHBipu80s9anNeZhCANDhbC5E+NZmuwgzHBcan8WC7xsPXPaiZS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CJJ9YtlNOPWhbKPlrQ8+AY52Aagi9WNhe6XfJdh5g6ptiOILm330mkR4g W6nEgZVyIyTq3ekOuruftWL99qpP5zi+eNrMmLRQx9iecDNgFr342R9bTDlb1TLuRb+/tJ98 f/bIWIr0cqQmqQ33FgRhrG1+Xml6UXyJ2jExmlO8JljuOGeXYh6ZkIEyzqzffzBLXZCujlYQ DFXpyMNVJ2ZwPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmffaK/ S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= In-Reply-To: <3465e0c6-f5b2-4c42-95eb-29361481f805@zytor.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 09. 01. 24, 20:57, H. Peter Anvin wrote: > What really makes me say that is that a lot of things we have recently > asked for gcc-specific extensions are in fact relatively easy to > implement in standard C++ and, in many cases, allows for infrastructure > improvement *without* global code changes (see below.) > > C++14 is in my option the "minimum" version that has reasonable > metaprogramming support has most of it without the type hell of earlier > versions (C++11 had most of it, but C++14 fills in some key missing > pieces). If you mean it, I do too. So I can only express my +1: yes, please. I don't have much to add as you summarized most of it. thanks, -- js suse labs