From: Andreas Herrmann <aherrmann@suse.de>
To: Neal Gompa <neal@gompa.dev>
Cc: Alexey Dobriyan <adobriyan@gmail.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Jason Gunthorpe <jgg@nvidia.com>,
jirislaby@kernel.org, dhowells@redhat.com,
linux-kernel@vger.kernel.org, pinskia@gmail.com,
kent.overstreet@linux.dev
Subject: Re: [PATCH 00/45] C++: Convert the kernel to C++
Date: Thu, 11 Jan 2024 13:12:13 +0100 [thread overview]
Message-ID: <20240111121213.GC4609@alberich> (raw)
In-Reply-To: <CAEg-Je9ahyp+asVHCcMr7KXYqDRzxJnQmqYcz1V+LH3ZEfT+Ww@mail.gmail.com>
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@gmail.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!
next prev parent reply other threads:[~2024-01-11 12:11 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-11 10:56 [PATCH 00/45] C++: Convert the kernel to C++ Alexey Dobriyan
2024-01-11 10:58 ` Neal Gompa
2024-01-11 11:12 ` Alexey Dobriyan
2024-01-11 12:12 ` Andreas Herrmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-01 21:32 Alexey Dobriyan
2018-04-01 20:40 David Howells
2018-04-01 22:20 ` Randy Dunlap
2018-04-02 9:28 ` Vegard Nossum
2024-01-09 19:57 ` H. Peter Anvin
2024-01-09 23:29 ` Andrew Pinski
2024-01-10 0:29 ` David Howells
2024-01-11 21:01 ` Arsen Arsenović
2024-01-09 23:40 ` David Howells
2024-01-10 7:13 ` Alexey Dobriyan
2024-01-12 2:25 ` H. Peter Anvin
2024-01-12 2:40 ` H. Peter Anvin
2024-01-10 8:58 ` Jiri Slaby
2024-01-10 13:04 ` Neal Gompa
2024-01-10 15:52 ` Jason Gunthorpe
2024-01-10 16:05 ` H. Peter Anvin
2024-01-10 16:25 ` Neal Gompa
2024-01-10 17:57 ` Theodore Ts'o
2024-01-12 2:23 ` H. Peter Anvin
2024-01-12 2:52 ` Kent Overstreet
2024-01-11 8:06 ` Andreas Herrmann
2024-01-10 15:01 ` Michael de Lang
[not found] ` <69fe1c0c-b5ec-4031-b719-d9c14742929c@metux.net>
2024-01-12 21:58 ` Michael de Lang
2024-01-11 4:24 ` John Hubbard
2024-01-11 5:09 ` Dave Airlie
2024-01-11 15:24 ` Eric Curtin
2024-01-11 21:37 ` David Laight
2024-01-11 12:39 ` Chris Down
2024-01-11 19:40 ` David Laight
2024-01-12 2:54 ` H. Peter Anvin
2024-01-12 8:52 ` David Howells
2024-01-12 23:53 ` H. Peter Anvin
2024-01-11 23:09 ` Arsen Arsenović
2024-01-12 9:20 ` David Howells
2024-01-12 21:35 ` Arsen Arsenović
2024-01-12 23:41 ` David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240111121213.GC4609@alberich \
--to=aherrmann@suse.de \
--cc=adobriyan@gmail.com \
--cc=dhowells@redhat.com \
--cc=hpa@zytor.com \
--cc=jgg@nvidia.com \
--cc=jirislaby@kernel.org \
--cc=kent.overstreet@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=neal@gompa.dev \
--cc=pinskia@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox