Posts By: Kent

Kent

Professional Software Developer, doing mostly C++. Connect with Kent on Twitter.

Getting rid of those pesky C-macros in C++-code (QSORT)

My day to day job is being a software developer, and my primary tasks is to seek out and eliminate performance issues with the C++-based software. Early on I spotted some methods taking their sweet time when sorting, thanks to Intel Parallel Studio and their Amplifier module w/Advanced Hotspots. Those methods, which got highlighted where sort-methods using a horrible QSORT macro and a predicate doing one too many things, but that’s another story.

RAGE was such a disappointment

A good while ago, I purchased RAGE on Steam. As usual, it was a good deal then. I’m a sucker for post-apocalyptic games like Fallout 3, New Vegas, STALKER-series and the Metro-series.

Grand Theft Auto 4 and robust design

Grand Theft Auto 4 Final mission

Have you ever tried playing GTA 4 final mission on a slow computer? I did! I managed almost to finish it. There is a bug in the final mission. You are riding a boat and you must catch up with a helicopter. At the time, I wasn’t able to catch up with a helicopter. No matter how many times I tried, I could not catch up with it. GTA 4, being a port from console to PC, the performance wasn’t quite there yet, even with fairly good hardware. Not too old compared to the release date.

Character set encoding in Visual Studio 2013

Visual Studio character set encoding is not only important for representation of local character sets. It’s also an important factor that will let you compile different libraries together. If you are using many different libraries you must decide what character set your project should use.