Pitfalls of Performance Testing
Beware the casual performance test, it will lie to you. It is simple to write something that gives you timings, …
Beware the casual performance test, it will lie to you. It is simple to write something that gives you timings, …
Asking questions about performance online universally invites scorn and accusation. A large number of programmers apparently feel that the efficiency …
Concurrent programming requires synchronisation. We can’t have more than one thread accessing data at the same time otherwise we end …
In the article on “How Polymorphism Works: Part 1” we learned how to create virtual functions. The method which we …
Polymorphism: the core of object oriented programming. Most modern languages have some concept of interfaces, virtual functions, and classes. Though …
We all know that operations in a computer happen one after the other. Having multiple CPUs and instruction reordering tends …
We’ve all heard that a CPU may reorder access to memory. Yet if you’ve looked further you’d also see that …
Multi-threaded programming calls for semaphores, synchronized blocks, mutexes, or whatever your language happens to call them. Most of us basically …
In the grand scheme of execution costs function calls come very close to the bottom of the list. They don’t …
Whether C++, Java or any other language, we are all familiar with instantiating an object. In those aforementioned languages the …