|
From what I have seen, most engine and graphics programming happens in C++, not C. Godot Engine, Unreal Engine, Unity. Even Dwarf Fortress seems to be written in C++. Do you mean C would be better, but it is not used? Or do you have some engines and games in mind that in fact use C? Or, perhaps, you just meant 'C or C++'?
My point in the original post was that C specifically is noteworthy, and C++, while it brings various improvements, is also quite unrestrained. And thus, perhaps introduces more complexities than improvements. I have observed various codebases, including Unreal Engine and Godot Engine, taking quite a minimalist approach to utilizing C++ specific features, and maybe entirely avoiding the standard library.
|