3 ms·
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 https://ww
by uecker 2y ago
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 https://www.open-std.org/jtc1/sc22/wg14/www/projects#9899
- oguz-ismail 2y ago[flagged]
- dartos 2y agoYes.
- tredre3 2y agoNothing strikes me as particularly complicated? The wording used in the document is simple enough and the bulk of it describes the stdlib functions.
- flohofwoe 2y agoThe 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 https://en.cppreference.com/w/c/23 PS: seems like it's missing "auto" though.
- _blk 2y agoNice, thanks. Summary of changes appears on https://en.wikipedia.org/wiki/C23_(C_standard_revision) 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
- deleted 2y ago[deleted]