News for hackers. Stuff that matters.
Re:Must Be This Tall to Write Multi-Threaded Code by fauigerzigerk on Saturday July 18, 2015 @05:04AM (#9907034)
Multithreaded programming is not inherently more complicated than everything else, but finding bugs caused by multithreading is inherently more difficult than finding any other kind of bug.

It all comes down to this: You can't reliably find concurrency bugs via testing. You have to prove they don't exist or you will never know. "Don't do it!" is one way of proving that multithreading bugs don't exist.

But I find it annoying when people act like it is always down to choice. Sometimes we need shared mutable state for logical reasons. We can only avoid it where it is an implementation detail.

There are no comments on this comment yet.