Re:Show HN: A pure C89 implementation of Go channels, with b...
by Conscat on Wednesday December 13, 2023 @06:17PM
(#38635600)
I would note that Tiny C Compiler is used a fair amount in the wild today, even beyond its stated use cases on the landing page, and C89 is the only standard that it fully supports.
[ Parent
| on HN ]
Re:Show HN: A pure C89 implementation of Go channels, with b...
by jamal-kumar on Wednesday December 13, 2023 @07:28PM
(#38636243)
Out of curiosity where is tinycc still being used?
Re:Show HN: A pure C89 implementation of Go channels, with b...
by defrost on Wednesday December 13, 2023 @07:36PM
(#38636291)
Fun stuff like running OS's in your browser:
and by a dedicated few to this day: https://lists.gnu.org/archive/html/tinycc-devel/
It's not much but it's not dead.
Re:Show HN: A pure C89 implementation of Go channels, with b...
by Conscat on Wednesday December 13, 2023 @10:02PM
(#38637285)
Languages that transpile to C code like it because, if the C is generated by another compiler, then the C language's expressiveness doesn't really matter, and TCC builds machine code pretty fast.
Re:Show HN: A pure C89 implementation of Go channels, with b...
by rurban on Thursday December 14, 2023 @02:26AM
(#38638723)
With big code bases, to get fast feedback. For me it's 200ms vs 3min
Re:Show HN: A pure C89 implementation of Go channels, with b...
by arp242 on Wednesday December 13, 2023 @09:53PM
(#38637237)
According to the README it supports most of C99, and even some things beyond that. It's not clearly defined what's meant with "most" or what's not supported, but since I've never had any problems with any C99 code I've written I suspect it's mostly fairly little used stuff (complex numbers?), and it seems that for all practical purposes tcc supports C99 for almost all codebases.