by jrepinc on 4/25/25, 10:53 AM with 153 comments
by Calavar on 4/25/25, 12:39 PM
This is going to silently break so much existing code, especially union based type punning in C code. {0} used to guarantee full zeroing and {} did not, and step by step we've flipped the situation to the reverse. The only sensible thing, in terms of not breaking old code, would be to have both {0} and {} zero initialize the whole union.
I'm sure this change was discussed in depth on the mailing list, but it's absolutely mind boggling to me
by omoikane on 4/25/25, 4:05 PM
> C: #embed preprocessing directive support.
> C++: P1967R14, #embed (PR119065)
See also:
https://news.ycombinator.com/item?id=32201951 - Embed is in C23 (2022-07-23)
by elvircrn on 4/25/25, 1:49 PM
It would be nice to know what these great improvements actually are.
by pjmlp on 4/25/25, 9:33 PM
by codr7 on 4/25/25, 4:07 PM
by fithisux on 4/25/25, 7:35 PM