Tag Archives: Bruce Dawson

How to report performance improvements

Bruce Dawson blogged about typical language when reporting speed-ups. Interesting that he found confusing/plain wrong examples in the real world as well as in software development. 

I usually try to communicate improvements in the style “10X faster” as well, to avoid any ambiguity. 

Leave a comment

Filed under Programming

Programming is…

Bruce Dawson described programming as follows:

When I’m describing what I do for a living to non-programmers I sometimes say that I solve puzzles. I solve fascinating puzzles that are different every day, and there’s no answer key, and very often nobody else knows the solution. Whether it’s figuring out why code is slow, or why it is crashing, or how to make code simpler and better, it’s all puzzles, and I love it.

I think that’s a useful point of view.  Whilst programmers need knowledge of some particular programming language and platform, it’s often the ability to solve puzzles that makes the star programmers stand out from the rest.  An average programmer will often make a meal out of a simple task (whether it’s development or testing) because they can’t see an elegant way to a solution.  The best programmers just get on with delivering quality, testing solutions without making a fuss – and they’re having a great time doing what they love!

Leave a comment

Filed under Musing, Programming

Bruce Dawson – crash investigator

Another great post from Bruce Dawson,
with some valuable tips to check compiler flags in Visual Studio to aid debugging of an entire class of crashes.

/GS, /NXCOMPAT, /DYNAMICBASE, /analyze and all its associated labors – plus actually fixing the bug – took a lot of time, but it was definitely worth it. Most of these changes were trivial and had huge payoffs. Running /analyze was by far the biggest task but, like other smart programmers, I am convinced that it was invaluable. Entire classes of bugs – serious crashing bugs and crazy logic errors – that use to show up quite frequently are now entirely extinct. It is not often that you get to entirely eradicate dozens of types of bugs and doing this definitely increased developer productivity and product reliability.

I’ll certainly check these are set for the projects that I own.

Leave a comment

Filed under C++, Programming

VC++ 2013 Class Layout Change and Wasted Space

Bruce Dawson posted about class layout incompatibilites in Visual C++ 2013.

Leave a comment

Filed under C++, Programming