News for hackers. Stuff that matters.
Re:Show HN: A pure C89 implementation of Go channels, with b... by tomcam on Wednesday December 13, 2023 @04:16PM (#38634230)
> It's 2023 - even MSVC has supported C11 and C17 for a while now. C89 is no longer a feature to advertise

There are plenty of constrained environments where this is indeed a feature to advertise, namely older machines and embedded systems.

Re:Show HN: A pure C89 implementation of Go channels, with b... by 38 on Wednesday December 13, 2023 @05:24PM (#38635065)
> older machines

Anything from the 80s/90s isn't really worth supporting. We gotta draw the line somewhere.

Re:Show HN: A pure C89 implementation of Go channels, with b... by fweimer on Wednesday December 13, 2023 @05:51PM (#38635329)
But it's not actually written in C89. It uses POSIX threads, flexible array members, anonymous unions, bitfield members that are not int, declarations intermixed with statements. And that's just what “gcc -std=c89 -pedantic-errors” reports.