Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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


The big new thing in C11 was atomics and threading.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: