When I started working on my new game I knew I’d be writing it in C++. I wanted to own my tech and I know that I want to target a wide range of platforms. C++ meets the bill there.
Originally, though, I setup a project for C++17 and dove into the deep end learning all about the new features and trying to do all the right template stuff to be modern C++. At some point I realized it was a whole lot of effort for not a whole lot of results.
Then I remembered Handmade Hero.
So I scrapped all the code, started nearly from the ground up (I’m still using SDL2 and I’m not doing a software renderer), got hot reloading working in a few hours and recently started implementing the “push buffer” style rendering. It’s been nothing but a joy to work in.
Highly recommend anyone embarking on a technical journey like this to take the time to consider various approaches. Your first choice might not actually be the best one for you.