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

The ISO C23 standard got published as ISO/IEC 9899:2024. Public drafts can be found here: https://www.open-std.org/jtc1/sc22/wg14/www/projects#9899


Nice, thanks.

Summary of changes appears on https://en.wikipedia.org/wiki/C23_(C_standard_revision)

A few of my highlights/to be aware of: * Add nullptr constant for nullptr_t type * Add true and false keywords * Add ' digit separator to literal constants, such as 0xFE'DC'BA'98 * The meaning of the auto keyword was changed to cause type inference while also retaining its old meaning of a storage class specifier if used alongside a type. Unlike C++, C23 allows type inference only for object definitions (no inferring function return type or function parameter type). * Add char8_t type for storing UTF-8 encoded data and change the type of u8 character constants and string literals to char8_t


[flagged]


The standard is mainly for the people who implement a C compiler.

If you just want to know what's new in C23 as a user this is probably a better resource:

https://en.cppreference.com/w/c/23

PS: seems like it's missing "auto" though.


Nothing strikes me as particularly complicated? The wording used in the document is simple enough and the bulk of it describes the stdlib functions.


Yes.




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

Search: