John Carmack on Latency Mitigation Strategies

So, this is an mirror of a post from John Carmack. Recently I learned that his articles on #AltDevBlog are no longer acessible. So, in order to archive them, I am re-posting them here. These articles …

The World map of C++ STL Algorithms

I just found this little gem by watching this video by Jonathan Boccara Within it you will find the world map of STL algorithms. A handy thing to hang on your wall :-). You can get the map from the …

The pure bash bible

The pure bash bible is such an impressive resource of bash tips and tricks catalogued in a very readable way, with excellent examples. It shows how much you can do with bash built-in methods. Even …

Words of wisdom from the trenches of KDE

If you are programming with Qt, or even C++ in general, the KDE project has some advice for you. I found that I frequently stumbled in some of these issues when working with Qt code.

A Windows mutex is not a mutex

Well, it turns out that CreateMutex is not the right synchronization primitive when working with threads. Strictly speaking, it does work for synchronizing threads but it is far more powerfull than that and you are paying a needlessly high cost if you are using it just for threads.

Lockless Single Producer Single Consumer bounded queue

Why lockless queue A few days ago, the thought of building a lockless queue was somehow implanted in my mind. Queues like these can be handy for passing messages or work packages between threads. Of …

The purpose of life...

The purpose of life is to hydrogenate carbon dioxide.