Re: "A diagram of C23 basic types"

Liste des GroupesRevenir à fs maths 
Sujet : Re: "A diagram of C23 basic types"
De : Muttley (at) *nospam* DastardlyHQ.org
Groupes : comp.lang.c
Date : 02. Apr 2025, 16:26:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsjkvb$25mtg$1@dont-email.me>
References : 1 2 3 4 5 6
On Wed, 2 Apr 2025 16:59:45 +0200
David Brown <david.brown@hesbynett.no> wibbled:
On 02/04/2025 16:05, Muttley@DastardlyHQ.org wrote:
I suspect the people who are happy with C never have any correspondence with
anyone from the committee so they get an entirely biased sample. Just like
its usually only people who had a bad experience that fill in "How did we do"
>
surveys.
>
And I suspect that you haven't a clue who the C standards committee talk
to - and who those people in turn have asked.

By imference you do - so who are they?

11. nullptr for clarity and safety.

Never understood that in C++ never mind C. NULL has worked fine for 50 years.

12. Some improvements to variadic macros.

Might be useful. Would be nice to pass the "..." args directly through to lower
level functions without having to convert them to a va_list first.

18. "unreachable()" is now standard.

Googled it - don't see the point. More syntatic noise.

19. printf (and friends) support for things like "%w32i" as the format
specifier for int32_t, so that we no longer need the ugly PRIi32 style
of macro for portable code with fixed-size types.

If you do a lot of cross platform code might be useful.

To be honest you can do most of you posted already - just compile C with a C++
compiler. Seems a case of catch up me-too.



Date Sujet#  Auteur
9 May 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal