What would be the best standard (C) for some open source games to target? I’m really thinking the latest and greatest, but because I know very little about the changes I’m also thinking maybe just stick with (C99) what I know.
Context: I’ve been playing with SDL3, and I’m planning to write some new games (I took nearly a decade long break from serious programming so who really knows if I still can write a game.) with it. I wrote a bunch of games a million years (SDL1) ago, but I’ve been getting back into serious programming lately.
What would be the best standard (C) for some open source games to target
It depends on what you want, what you know and where you want to support the software
There aren’t that many goodies in between ANSI-C and C99, but there are a lot of cool features in C11 and the upcoming C23
This choice is only for you to decide, answer the question from the first line and you will get the answer. If you still can’t decide just go for C17 since it is C11 with fixes and it is widely available for all major compilers.