[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e5949a27-999d-4b6e-8c49-3dbed32a00bc@zytor.com>
Date: Thu, 11 Jan 2024 18:23:10 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: "Theodore Ts'o" <tytso@....edu>, Neal Gompa <neal@...pa.dev>
Cc: Jason Gunthorpe <jgg@...dia.com>, jirislaby@...nel.org,
dhowells@...hat.com, linux-kernel@...r.kernel.org, pinskia@...il.com,
kent.overstreet@...ux.dev
Subject: Re: [PATCH 00/45] C++: Convert the kernel to C++
On 1/10/24 09:57, Theodore Ts'o wrote:
> 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?
>
I suspect that the gcc and clang developers are more motivated these
days about such issues since they are now using C++ as their own
implementation language.
I had a member of the C++ standards committee reach out to me already,
and I'm going to have a discussion with him next week.
I have a lot more to say in response to all the (excellent!) comments,
but I'm about to leave for a long birthday weekend, so my apologies if I
don't get back to things until next week.
-hpa
Powered by blists - more mailing lists