Sujet : Re: C23 thoughts and opinions
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 23. May 2024, 05:30:34
Autres entêtes
Organisation : None to speak of
Message-ID : <87ed9t5evp.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Lawrence D'Oliveiro <
ldo@nz.invalid> writes:
On Wed, 22 May 2024 21:08:54 -0700, Keith Thompson wrote:
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.
>
Time/effort would be better spent investing in a more versatile build
system. Which would have the added advantage of supporting other languages
besides C.
If you have an immediate need for something like #embed, then of course
waiting for compilers to implement it isn't suffficient.
But it's part of the C23 standard, that's not going to change, and code
will be written to use it.
I don't understand your apparently intense dislike for #embed. The fact
that there are other ways to accomplish the same thing doesn't make it a
bad feature. By all means don't use it if you don't like it.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */