| Deutsch English Français Italiano |
|
<87ikz55fvt.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news.swapon.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: C23 thoughts and opinions
Date: Wed, 22 May 2024 21:08:54 -0700
Organization: None to speak of
Lines: 22
Message-ID: <87ikz55fvt.fsf@nosuchdomain.example.com>
References: <v2l828$18v7f$1@dont-email.me>
<00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com>
<v2lji1$1bbcp$1@dont-email.me>
<87msoh5uh6.fsf@nosuchdomain.example.com>
<d56ac921-6ffb-4fd1-84a7-b583235c6f37@gmail.com>
<v2mbeg$1ik9e$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 23 May 2024 06:08:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="04393c0e0d87ab29eec6bf33d59d4ed3";
logging-data="1681926"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/S6Fglb2OghQDQtNG8nZEe"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:pVLAqb0xNS1b8R17L2jd2qMkGMk=
sha1:bdSdO4BNOUEW/3L8tfLzHw3hYZc=
Bytes: 2234
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Wed, 22 May 2024 22:23:26 -0300, Thiago Adams wrote:
>> I like the idea of embed ...
>
> We’ve discussed this before. It just seems like a sop to those stuck with
> antiquated, crippled build systems. In which case, how would they get an
> up-to-date compiler that supports it?
Presumably by waiting until compilers support it, like any new feature.
C23 hasn't even been officially published yet, and at least a naive
implementation of #embed should be fairly straightforward.
Obviously any code that depends on it will be restricted to newer
compilers, but after a while that shouldn't be much of an issue.
And it means that the semantics of including the contents of a
(possibly binary) file are represented in the source code, not in
one of a gazillion incompatible build systems.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */