News for hackers. Stuff that matters.
Re:Modern C++ – RAII by fh973 on Friday May 30, 2025 @07:18AM (#44135027)
Yes, it is very inefficient, as it is thread-safe and uses atomic operations internally.

So instead of just accessing memory, you have the cost of cross-cache coherency operations between CPU cores.

There are no comments on this comment yet.