Re:Writing a 3D Game in C (in 2022)
by aarongeisler on Tuesday December 06, 2022 @05:12PM
(#33887848)
That makes a lot of sense. Any resources you would recommend? I am getting tired of making C "wrappers" to work with C++ SDKs. Will probably need to bite the bullet on this.
What kind of resources are you interested in? If it's about the 98 version of C++ I can recommend Lippman's C++ primer, 3rd edition (which is more suited from my point of view for the given purpose than later editions).
> C++ is the obvious choice but the syntax and endless features overwhelm me. Iām not a fan of OOP for game development - class-heavy C++ was not the right move
You can well use C++ with a very modest style, even completely without OO if needed; C++ has many advantages over C for large projects; the type system is more mature and it offers very useful features for modularization and memory management (which were already present in C++98, so it's easy to get a working compiler on virtually all platforms where there is a C compiler).