Would be nice to have a list of these and comparisons
Would be nice to have a list of these and comparisons
C23 got typeof, constexpr constants, enums with underlying type, embed, auto, _BitInt, checked integers, new struct compatibility rules, bit constants, nullptr, initialization with {}, and various other improvements and cleanups. Modern C code - while still being simple - can look quite different than what people might be used to.
C2Y already already got named loops, countof, if with declarations, case range expressions, _Generic with type arguments, and quite a lot of UB removed from the core language. (our aim is also to have a memory safe subset)
At this point may be C2Y will get to be the BetterC, given adoption or any other alternative will take far longer than expected.