Demystifying Memory Ordering in C++

If you’ve ever wondered why your lock-free queue is slower than a mutex, you will have a better view on things by the end of this article.