Re: C23 thoughts and opinions

Liste des GroupesRevenir à cl c  
Sujet : Re: C23 thoughts and opinions
De : cr88192 (at) *nospam* gmail.com (BGB)
Groupes : comp.lang.c
Date : 25. May 2024, 22:05:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v2tjqu$31lp2$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
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... ).

 

Date Sujet#  Auteur
25 May 24 * Re: C23 thoughts and opinions2Thiago Adams
25 May 24 `- Re: C23 thoughts and opinions1BGB

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal