You have a performance problem, you want to employ parallelism, you start adding threads... pause a moment and reflect
Threads are not the answer
by Lucian Radu Teodorescu
From the article:
Whatever the problem is, threads are not the answer. At least, not to most software engineers.
In this post I will attack the traditional way in which we write concurrent applications (mostly in C++, but also in other languages). It’s not that concurrency it’s bad, it’s just we are doing it wrong.
The abstractions that we apply in industry to make our programs concurrent-enabled are wrong. Moreover, it seems that the way this subject is thought in universities is also wrong.
Add a Comment