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.
[ Parent
| on HN ]
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...
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.