logoalt Hacker News

procaryoteyesterday at 8:38 AM2 repliesview on HN

C11 adds a couple of nice things like static asserts which I use sometimes to document assumptions I make.

They did add some optional sections like bounds checking that seem to have flopped, partly for being optional, partly for being half-baked. Having optional sections in general seems like a bad idea.


Replies

whouyesterday at 11:39 AM

If you don't have compiler restrictions, C23 is also a pleasure to write. `typeof`, `constexpr`, `#embed`, `nullptr`, attributes and all.

ueckeryesterday at 12:38 PM

The big new thing in C11 was atomics and threading.