Re: [PATCH 00/45] C++: Convert the kernel to C++
From: Theodore Ts'o
Date: Wed Jan 10 2024 - 12:59:02 EST
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