Follow me on TwitterMy Tweets
Category Archives: C++
Nice trick to get build’s timestamp at runtime (Visual C++ only): It’s not very portable, but it doesn’t require any additional recompilation (as __DATE__ __TIME__ macros do).
Recently Q-Games ported one of their games – PixelJunk Eden to Windows. Actually it’s their first Windows release. From tech perspective it’s not as impressive as PixelJunk Shooter series, but still it was quite interesting to poke around this game’s … Continue reading
Today at work we were optimizing memory usage. At some moment we found out that size (on stack) of our basic data structures is x bytes bigger than summed size of their members. Every basic data structure was written following … Continue reading