Modern C, C23 edition, now in print
The new C23 edition of the book 'Modern C' is now available in print and e-pub formats.
Jens Gustedt is a C language expert and contributor focused on modern C standards, compiler optimization, and language design. His work covers C23, memory models, macros, and proposals for improving the C programming language and its tooling.
8 articles from this blog
The new C23 edition of the book 'Modern C' is now available in print and e-pub formats.
A proposal to change C string literals to const types, seeking feedback on its impact from developers and projects.
A visual diagram and explanation of the C23 standard's type system, showing how basic types are organized and categorized.
Exploring how C++-style contracts (pre/postconditions) could be adapted for the C programming language, including syntax and semantics.
Introduces meta-quotes in eĿlipsis, a new preprocessor feature to protect tokens from macro expansion, addressing C macro collision issues.
Explores implementing the 'defer' feature in C/C++ using GCC extensions and C++ standard features, with a new syntax proposal.
Announcing the free C23 edition of 'Modern C', a book updated for the new C standard with new features like _BitInt, nullptr, and constexpr.
Explores implementing the 'defer' feature for C using preprocessor macros to simplify resource cleanup and avoid spaghetti code patterns.