Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Wed, 22 May 2024 21:30:34 -0700 Organization: None to speak of Lines: 29 Message-ID: <87ed9t5evp.fsf@nosuchdomain.example.com> References: <00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com> <87msoh5uh6.fsf@nosuchdomain.example.com> <87ikz55fvt.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 23 May 2024 06:30:35 +0200 (CEST) Injection-Info: dont-email.me; posting-host="04393c0e0d87ab29eec6bf33d59d4ed3"; logging-data="1688338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18a06QzyjVxFGCiQaBp4U3E" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:MikX26azZorLdvHqIB0NRNlTWoU= sha1:rhrfvJTkmaVXSjP4ZBv/X9FP8EQ= Bytes: 2555 Lawrence D'Oliveiro writes: > On Wed, 22 May 2024 21:08:54 -0700, Keith Thompson wrote: >> Lawrence D'Oliveiro 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.com void Void(void) { Void(); } /* The recursive call of the void */