The C11 specification from #wg14 is so dreadful, so full of dumb ideas badly explained, as to shock the conscience
#computerscience #programming #Clanguage #c11 #wg14
Couldn't agree more with this paragraph from a #C standard proposal written by Chris Bazley for #c2y. I think this issue should be taken seriously by the #wg14 comitee.
It turns out that sometime ago #gcc has added the #clang attribute #may_alias to C (and C++). After breaking C semantics, despite clear objections from Dennis Ritchie, to enable unquantified and feeble "optimizations" based on aliasing, the compiler bosses have had to smuggle back a version. Looks like these changes went into some of libc about a year ago.
#wg14 #Cstandard

Meeting 71 of WG14 (the ISO C committee) is now complete, and I've written a blogpost with an overview of the proposals that were highlights for me: https://www.ethernull.org/blog_posts/2024_10.1_wg14.html

With thanks to @AaronBallman @erisceleste @thephd for writing the proposals I wrote about!

Obviously there were plenty of great papers, these were just a few I particularly liked. C23 is really nice, and I think C2y is already shaping up to be something quite special. :)

#WG14
#C2y
#C

WG14 Meeting Report

I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.

for example, it would be nice if you could say

#namespace FOO
#include "foo.h"
#endnamespace

and then all the preprocessor defines from foo.h are brought into your file with names like FOO###BOOL

#c #preprocessor #cpreprocessor #cpp #wg14

For example in KandRC, it's simple to check if two arrays overlap
if(&a[n] < b || &b[m] < a){ all good}

But in ISO C, there is no way do do this - well, there is an optional cast to a number that may work.

The reason we give up this expressive capability is vague and not backed up by any numbers.
#isoc #wg14

Well, I am now officially a member of ISO/IEC JTC1/SC22/WG14 (the C committee)!

It feels strange to be labelled as an expert, but I suppose they don't have "lay" committee members...

#WG14
#C

A proposal for C's ISO WG14 that the author, Eskil Steenberg, considers dead on arrival due to the working group wanting to take C in another direction.

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3176.pdf

#C #WG14

The #CprogrammingLanguage has been deeply damaged by the #WG14 Standards Committee and the two free compiler projects. https://www.yodaiken.com/2018/05/20/depressing-and-faintly-terrifying-days-for-the-c-standard/
Depressing and faintly terrifying days for the C standard – keeping simple

@emeryberger my conclusion after a year on #WG14 was that #optimization and FAANG cannot live together in peace. #Cprogramming