Deutsch English Français Italiano |
<v2tjqu$31lp2$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: BGB <cr88192@gmail.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Sat, 25 May 2024 16:05:32 -0500 Organization: A noiseless patient Spider Lines: 36 Message-ID: <v2tjqu$31lp2$1@dont-email.me> References: <v2l828$18v7f$1@dont-email.me> <6d1d6b61-6601-4376-ae57-315ef02e0a5f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 25 May 2024 23:05:35 +0200 (CEST) Injection-Info: dont-email.me; posting-host="753e18f631ae219f100a5a7ea0d22cb5"; logging-data="3200802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NJrH5jeYgZvyQlHgRXcQoeXQaoLTxqGQ=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:mg1U4OlqAOiiP87Pz1Jg281cyvA= Content-Language: en-US In-Reply-To: <6d1d6b61-6601-4376-ae57-315ef02e0a5f@gmail.com> Bytes: 2506 On 5/24/2024 7:35 PM, Thiago Adams wrote: > Em 5/22/2024 1:55 PM, David Brown escreveu: >> In an attempt to bring some topicality to the group, has anyone >> started using, or considering, C23 ? There's quite a lot of change in >> it, especially compared to the minor changes in C17. >> > > I think it is interesting to mention cake. It can transpile c23 to c99. > http://thradams.com/cake/playground.html > > But cake source code is not using any c23 feature, even if it could > transpile its own source. > The feature I use is not part of the standard that is a macro try catch > that no one likes and I love. > Actually, the only feature I am using is nodiscard as a macro. so cake > works as static analyser. > > I have another source code in C that needs lambdas without capture. But > this is not part of C23. > Ironically, in my compiler I ended up adding lambdas more or less like those in the proposal, but more because I had another language my compiler supports (no, not C++) that did happen to have lambdas... Support for other parts of the standards is a bit mixed, mostly what things I found potentially useful I have added, other things "if/when I get to it". Not that it matters much, since "niche compiler for a niche hobby ISA" isn't likely to see much general usage... ( And I have no pretense of toppling GCC or Clang or similar, even as annoying as I can find them in some cases... ). >