Tag Archives: Development

MFC 25th Birthday Makeover (Part 4)

In this 4th installment of giving MFC a Windows 10 makeover, I want to focus on some of the little things that make an application look like its Windows 10, some of the items are going to seem picky but … Continue reading

Posted in C++, Development, MFC, Programming | Tagged , , , | 4 Comments

MFC 25th Birthday Makeover (Part 3)

In this 3rd installment as we try to make our example application look more “Windows 10”, we start with our application with still too much blue Lets start by trying to remove the blue from the tabs, virtual void OnDrawTab(         CDC* pDC,         CRect rectTab, … Continue reading

Posted in C++, Development, MFC | Tagged , , | Leave a comment

Recording Timings for Optimization Measurement Experiments

In a number of my blog posts up to this point I’ve used a simple timing function call recordTime() to record time between 2 points in the code. I’ve been doing optimization enough to know you must measure everything. There … Continue reading

Posted in C++, Development, Programming | Tagged , , , | Leave a comment

A loop is a loop is a loop…or is it

This is a aside to my SIMD posts, but it really shows AutoVectorization in action.. You might think all for next loops were built equal, but recently whilst looking at a tight looping in Intel VTune I was surprised that the loop … Continue reading

Posted in C++, Development | Tagged , , , , | Leave a comment

Adventures in SIMD – Part 1- Introduction

Over the last 20 years we’ve seen massive growth in the speeds of CPU architectures where clock speeds where constantly increasing, however in the last couple of years we’ve seen this growth drastically slow. We’ve seen numbers of cores grow … Continue reading

Posted in C++, Development | Tagged , , , , , , , | Leave a comment

When I like to use the power of classes

I look at a lot of other peoples code, legacy code from 20 years ago all the way up to stuff just written.. and one common thread comes out.. developers don’t always use the power of classes. What I mean by … Continue reading

Posted in C++, Development | Tagged , , | Leave a comment

When MOD went bad

When I recently used Intel VTune to understand why a hash based container seemed to be slow, it showed me something that surprised me. A “General Exploration” analysis showed excessive “DIV” instructions, caused by a mod function (e.g.) (in a tight loop) … Continue reading

Posted in C++ | Tagged , , | 1 Comment

33 years of developing!

Years after I first started programming on my ZX Spectrum, I still find myself doing what I love and getting paid for it, only the world has a much different way of learning than it used to. Gone are the … Continue reading

Posted in C++, Development | Tagged , , , , | Leave a comment