Deutsch English Français Italiano |
<v2mnnk$1kl8o$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Malcolm McLean <malcolm.arthur.mclean@gmail.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Thu, 23 May 2024 07:29:08 +0100 Organization: A noiseless patient Spider Lines: 25 Message-ID: <v2mnnk$1kl8o$1@dont-email.me> 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> <87ikz55fvt.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 23 May 2024 08:29:09 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7c87bbe19513f0fe727128e587a36402"; logging-data="1725720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19AbVem8+XpFVmwZ7OiMM6wcSWSxnIGIls=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:GqTgArqmzYVani+U8f+DP6b7+zI= Content-Language: en-GB In-Reply-To: <87ikz55fvt.fsf@nosuchdomain.example.com> Bytes: 2388 On 23/05/2024 05:08, 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. > > 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. > And who will use the Baby X resource compiler when we have embed? -- Check out Basic Algorithms and my other books: https://www.lulu.com/spotlight/bgy1mm