[devlog] Stability Fix

rtitle05Hey !

It’s going to be a very short but very important devlog. I spent the last week fixing the stability issues people were experiencing with Unending Galaxy. The main reason why the game wasn’t stable in the first place was because it’s fully multi-threaded (able to use all your CPU power) and because I wasn’t able to make it work 100% of the time until now. Before labeling me as an incompetent coder please look at the CPU usage of your favorite AAA games, yeah not so good either, hey :). Multithreading is hard to get it right, and the more complex your game is, the harder it is. Anyway, after a whole week of debugging, I finally managed to make it work properly. It took its toll on the performances and nearly nullified the benefits of last week‘s improvements, but it was worth it. I’ve been looking at the same game for hours and hours trying to make it crash and it simply doesn’t. More to the point, there’s tons of “please don’t crash” code that I can safely remove now, which should in theory improve performances again.

Read More …