News for hackers. Stuff that matters.
Re:A Defer Mechanism for C by cesarb on Monday December 14, 2020 @10:08AM (#25418385)
> Then again, nearly none of the syntactic C features post-C89 have been very compelling or widely adopted.

That's Microsoft's fault; it's 2020 already, and unless things changed since I last looked, their compiler still doesn't have full support for the C99 standard.

Even then, some of the C99 syntactic features have been somewhat widely adopted (at least when not compiling for Windows); off the top of my head, we have "//" comments, declarations in the middle of a block, and designated initializers.

Re:A Defer Mechanism for C by pjmlp on Monday December 14, 2020 @10:18AM (#25418484)
They fully support C11 and C17 now.

Everything that was moved into optional in C11, like VLAs, is not planned to ever be supported.

Re:A Defer Mechanism for C by CyberRabbi on Monday December 14, 2020 @01:59PM (#25421617)
“Somewhat widely adopted” is not “widely adopted” :)

I see people tend to write C89+designated initializers but this is a code smell IMO. Initial data should always be 0, especially data that lives in BSS/data section.