Ditch your (Mut)Ex, you deserve better
chrispenner.ca·3h·
Flag this post

Having access to multiple parallel CPU cores isn’t a new thing by any means, people have been programming in parallel for half a century now, but recent years we’ve found ourselves at an inflection point. Moore’s law is dying, beefy single cores are no longer keeping up. Modern computers come with multiple CPU cores, so exploiting parallel compute is more important than ever. Given how long it’s been an area of research we can naturally expect that effective tools have taken root and that synchronizing threads is trivial now right...?

Unfortunately this has not been my experience, and I’m willing to bet it hasn’t been yours either. Managing shared state across threads is hard, and the most commonly used tools: mutexes and semaphores, simply haven’t evolved much since their inceptio…

Similar Posts

Loading similar posts...