#computerscience #programming #Clanguage #c11 #wg14
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. :)
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
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
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.