The Dev Craft
javierblanco's profile
Javier Blanco@javierblanco•Jun 02, 2025
3.1K
Post cover image

Atomics And Concurrency

Avatar of hnHacker News•From redixhumayun.github.io•May 30, 2025•11m read time

Explores atomic operations and memory ordering in C++ for concurrent programming. Covers the three main memory ordering models (relaxed, release-acquire, sequential consistency) and explains how they prevent data races without using mutexes. Demonstrates concepts through practical examples including a basic lock-free queue implementation using atomic operations and compare-and-swap. Discusses hardware considerations for different processor architectures (x86 vs ARM) and their impact on performance.

Sort:

javierblanco's user avatar
Javier Blanco
@javierblanco
Joined Aug 29. 2024
3.1K

A Chemical Engineer fallen for Computation Maths ^^!

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard