News for hackers. Stuff that matters.
Re:Taking C Seriously by zeteo on Wednesday November 02, 2011 @05:10PM (#3188946)
>C was developed between 1969 and 1973, making it nearly 40 years old [...] C ha[s] already made an exceptionally good start on a century-long reign

In all fairness, development continued past 1973. Most C programmers today would have some trouble even reading the code from the 1978 first edition of K&R; and the void* pointer, that the author refers to later in the article, was a part of ANSI C (~1990).

Re:Taking C Seriously by DiabloD3 on Wednesday November 02, 2011 @05:18PM (#3188976)
Development on C hasn't stopped. C1x is coming soon (probably 2012 or 13), and has a lot of interesting enhancements including bounds checking.
Re:Taking C Seriously by cygx on Wednesday November 02, 2011 @06:05PM (#3189153)
According to Herb Sutter's obit for Dennis Ritchie ( http://herbsutter.com/2011/10/12/dennis-ritchie/ ), C1x already passed its final ballot, so all that's missing is an official announcement.

It would be nice to know if there are any changes from the April draft, though...

Re:Taking C Seriously by comex on Thursday November 03, 2011 @03:01AM (#3190635)
Bounds checking is just for library functions, and there isn't something like automatic array bounds checking, right?

Still, whoa -

    > #define cbrt(X) _Generic((X), long double: cbrtl, \
    >                               default: cbrt, \
    >                               float: cbrtf)(X)
Fun stuff.
Re:Taking C Seriously by LukeShu on Wednesday November 02, 2011 @10:07PM (#3189856)
Definitely. Occasionally I'll run across some code in an old program (eg: Emacs), and be utterly unable to read it, because it's an older dialect of C (that I'm surprised most compilers still accept). I'll have to dig out a copy of K&R first edition just to read the code.