> Serialisation Compared to serialisation in almost any modern language, serialising state in C (or C++) is excruciating. There are no reflection capabilities in C, and minimal capabilities in C++, so you need to manually specify each and every field when serialising or deserialising the game state
I got tired of that years agao, and have used this approach with success in a few projects: https://www.lelanthran.com/chap2/content.html