Re: [PATCH 00/45] C++: Convert the kernel to C++

From: Neal Gompa
Date: Wed Jan 10 2024 - 08:05:52 EST


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@xxxxxxxxx/
[2]: https://lore.kernel.org/lkml/152261521484.30503.16131389653845029164.stgit@xxxxxxxxxxxxxxxxxxxxxx/


--
真実はいつも一つ!/ Always, there's only one truth!