Deutsch English Français Italiano |
<v4cpjh$1pgun$1@raubtier-asyl.eternal-september.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero <Bonita.Montero@gmail.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Wed, 12 Jun 2024 20:32:20 +0200 Organization: A noiseless patient Spider Lines: 34 Message-ID: <v4cpjh$1pgun$1@raubtier-asyl.eternal-september.org> 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> <v2ng4n$1p3o2$1@dont-email.me> <87y18047jk.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 12 Jun 2024 20:32:18 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="bcfd2fccf9a1cd229f4d804c90d53b51"; logging-data="1885143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eKTXiuwLfBvdHjZnyYFtV6Xy6yP+gfyw=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:FX1Gxb7J9KmYquLHJSI0dv02D74= In-Reply-To: <87y18047jk.fsf@nosuchdomain.example.com> Content-Language: de-DE Bytes: 2738 Am 23.05.2024 um 22:06 schrieb Keith Thompson: > David Brown <david.brown@hesbynett.no> writes: >> On 23/05/2024 14:11, bart wrote: > [...] >>> 'embed' was discussed a few months ago. I disagreed with the poor >>> way it was to be implemented: 'embed' notionally generates a list of >>> comma-separated numbers as tokens, where you have to take care of >>> any trailing zero yourself if needed. It would also be hopelessly >>> inefficient if actually implemented like that. >> >> Fortunately, it is /not/ actually implemented like that - it is only >> implemented "as if" it were like that. Real prototype implementations >> (for gcc and clang - I don't know about other tools) are extremely >> efficient at handling #embed. And the comma-separated numbers can be >> more flexible in less common use-cases. > [...] > > I'm aware of a proposed implementation for clang: > > https://github.com/llvm/llvm-project/pull/68620 > https://github.com/ThePhD/llvm-project > > I'm currently cloning the git repo, with the aim of building it so I can > try it out and test some corner cases. It will take a while. > > I'm not aware of any prototype implementation for gcc. If you are, I'd > be very interested in trying it out. > > (And thanks for starting this thread!) > #embed is here: https://www.phoronix.com/news/LLVM-Clang-19-C23-Embed