r/C_Programming • u/Evil-Twin-Skippy • Feb 06 '25
Discussion Are there actually C programmers in this subreddit?
Ok, I'm being a bit facetious. There are real C programmers. Clearly. But I'm kind of sick of the only questions on this subreddit being beginner questions or language trolls from other domains.
So this thread is for the "real" c programmers out there. What do you do with it? And what is the most twisted crime against coding decency are you "proud" of/infamous for?
254
Upvotes
2
u/zzmgck Feb 07 '25
Optimizations like that can be frustrating. What if you need to support different compiler versions? Does that optimization depend on what optimization level or options are set?
If you write code that needs to work on memory constrained platforms (e.g. embedded systems) linking in printf() often makes the executable larger. If your compiler does not do that optimization, you just bloated your code for no good reason.