August 28, 2008
There are still too few online resources available that can help with multicore programming (multiprocessing) so I continue with another tip and this time it is about exceptions and exception handling. See also previous article "Prefer clear execution flow for member function".
The computer system as a whole is an extremely parallel system. Interrupts go into the CPU and the CPU handles them by priority. These interrupts can come either from the hardware or from software. When the keyboard has a new key to send to an application the keyboard device raises an interrupt with the CPU and the CPU in turn...
August 27, 2008
Long time no read... Well, I've been very busy. I thought that I'd start with a technical post (maybe cause there is nothing that exciting with my life, and maybe because I pretend that this is the case :)
As you all know I have beed busy in the are of parallel computing, what people call multi-core programming.
I have learned that Object Oriented programming is very problematic with parallel systems and that OO helps us at design time but has almost no benifit for run-time and many times even damages our ability to understand execution flow. See my post on my Intel blog here: http://softwareblogs.intel.com/2008/08/22/flaws-of-object-oriented-modeling/
It is very clear to...