[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240111121213.GC4609@alberich>
Date: Thu, 11 Jan 2024 13:12:13 +0100
From: Andreas Herrmann <aherrmann@...e.de>
To: Neal Gompa <neal@...pa.dev>
Cc: Alexey Dobriyan <adobriyan@...il.com>, "H. Peter Anvin" <hpa@...or.com>,
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 Thu, Jan 11, 2024 at 05:58:51AM -0500, Neal Gompa wrote:
> On Thu, Jan 11, 2024 at 5:56 AM Alexey Dobriyan <adobriyan@...il.com> wrote:
> >
> > > SFINAE giving inscrutable errors is why I'm saying C++20,
> > > since "concept" means you can get usable error messages.
> >
> > I'd say concepts are irrelevant for the kernel where standard library is
> > tightly controlled by the same people who write rest of the kernel and
> > no external users.
> >
> > static_assert() is all you need.
>
> We have external users all the time, though. People who write external
> modules or new modules would fall in that classification. Why should
> it be harder for them?
I guess, I misunderstand something.
But WRT to the term 'external module' I have some comment.
My personal opinion is somewhat reflected in following article:
https://www.linuxfoundation.org/blog/blog/the-people-who-support-linux-snowden-revelations-spur-engineers-open-source-donation
(The People Who Support Linux: Snowden Revelations Spur Engineer's
Open Source Donation) [The Linux Foundation | 18 December 2013]
„“The public needs fully open source OSes, where experts can review
the whole code, to minimize the risk of hidden backdoors,” said
Kies.“
Thinking more about this.
What exactly was the reason to allow Rust in the kernel?
What exactly is the reason to allow C++ in the kernel?
Besides, I think in general that complexity can be destructive -- even
in a world without bad actors.
> --
> 真実はいつも一つ!/ Always, there's only one truth!
Powered by blists - more mailing lists