News for hackers. Stuff that matters.
Re:Writing a game engine in pure C: The Graphic Initialization by Supersaiyan_IV on Thursday June 06, 2019 @09:39AM (#20114392)
I like your approach, mostly because it's bottom-up, and because this is an excellent opportunity to illustrate common pitfalls. Those pitfalls can be identified using sanitizers (-fsanitize=undefined,leak,address,thread etc). With the correct CI setup you'll have a safety net, where sanitizers provide precise motivations why one approach works, and another also works, but at risk of undefined behaviour.

I have no opinion on use of C89 instead of C++, since that's just an implementation detail. Also, for your purposes, it works to your advantage, since C is basically the white-box of C++.

There are no comments on this comment yet.