Deutsch English Français Italiano |
<v2q7m5$2c2bt$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Fri, 24 May 2024 16:19:49 +0200 Organization: A noiseless patient Spider Lines: 18 Message-ID: <v2q7m5$2c2bt$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> <f08d2c9f-5c2e-495d-b0bd-3f71bd301432@gmail.com> <v2nbp4$1o9h6$1@dont-email.me> <875xv45viu.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 24 May 2024 16:19:50 +0200 (CEST) Injection-Info: dont-email.me; posting-host="aa31083d92649562fe347cd52a2a5ec5"; logging-data="2492797"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/sRfCR+oYD5ATAq/0dkFVlcr/BpQICJYI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:M11l3r9CazJYGzJW65kJ6M7wliY= Content-Language: en-GB In-Reply-To: <875xv45viu.fsf@nosuchdomain.example.com> Bytes: 1994 On 23/05/2024 18:43, Keith Thompson wrote: > bart <bc@freeuk.com> writes: > [...] >> I suspect that ones like 'embed' have been derived from C++ which >> always likes to make things too wide-ranging and much harder to use >> and implement than necessary. > > No, C++ doesn't have #embed. (If it did, many C compilers would already > have it, since C and C++ commonly share the preprocessor > implementation.) > C++ has proposals for both #embed and std::embed<>, but AFAIK these are not yet accepted. I expect #embed to make it (since the big tools will support it for C anyway). std::embed<> is more powerful but has additional complications.