C++ Renaissance: Getting Back The Free Lunch

April 16, 2011

At the beginning of 2005 Herb Sutter had an article stating that the developer’s free lunch is over. We had an assumption that more transistors in the CPU imply better application execution speed. The CPU executes the code in a sequential manner hence the performance of the CPU-bound code is directly related to CPU frequency. This used to be our “Free Lunch”: an old program runs faster on a new CPU. Using this assumption with modern low power consumption multi-core CPUs is wrong, we might even find that an old program runs slower on a new CPU. Since performance...

Nostalgic Or Reality: The Comeback of Commodore

April 9, 2011

My first personal computer was Commodore VIC-20, or as a geek I should say my first love. With 5KB of RAM (3.5KB for the user) I had to learn Assembly to do a serious game programming. These were the happy 80’s, the 8-bit computer era. From VIC-20 I moved to the Commodore 64 and then to the Commodore 128 (My first dual CPU machine ). In My final electronic project at high-school I built an electrical circuit based on Analog to Digital converter chip. I developed a Sound Sampling application (using Assembly language) that was able to...

C++ Renaissance: The Asynchronous Agents Library

April 2, 2011

Visual Studio 2010 brings back the power of C++. The new language capabilities and optimized STL libraries, the developers productivity as well as the resulting executable performance are much higher. In this post I’d like to present one of the abilities of the ConcRT Asynchronous Agents Library. Agent is based on the Actor Model and is one of the building block of a Concurrent Dataflow Network. The idea behind the Asynchronous Agent Library is that you build a network from agents and message blocks. Messages are sent from agent and blocks to other agents and . The ConcRT scheduler...