Re:Show HN: I wrote my own RTS game engine in C
by krapp on Thursday May 13, 2021 @06:42AM
(#27140643)
>How often do you need to parse a string in an RTS game?
Asset files, config files, shaders, obj files, CSV, XML, JSON, etc... it's not uncommon. Read the asset loading code in the posted game.
For a language that doesn't even know what a "string" is, C applications tend to involve a lot of string parsing.
If you need to do lots of string processing, C is simply not the right language.
Thankfully one isn't forced to only learn a single programming language in life ;)