News for hackers. Stuff that matters.
Re:Common Pitfalls in Writing Lock-Free Algorithms by swift on Thursday March 28, 2013 @12:31PM (#5455836)
This is actually a really good point. Garbage collection has significant advantages for concurrency because it solves this problem so nicely; avoiding these issues in C++ often isn't just difficult for the programmer but also costs you performance. (Of course, if you generate so much garbage that the GC is running all the time, it will become a bottleneck, but the same is true of excessive allocation and deallocation even in unmanaged languages.)

There are no comments on this comment yet.