• Feed
  • Discussions
Atomic Operations

Atomic Operations

#atomic-operations
0 followers·2 articles

Atomic Operations

#atomic-operations·0 followers·2 articles
Atomic Operations
Sachin Tolay
Sachin Tolay
nihcas.hashnode.dev·Aug 05, 2025
Aug 05, 2025

Instruction Reordering: Your Code Doesn’t Always Run in the Order You Wrote It

When writing code, you naturally expect instructions to run one after the other in the exact order they appear. For example: x=1; y=2; You’d expect x = 1 to complete before y = 2 starts. But in reality, modern CPUs and compilers don’t always execute...

Discuss·3 reads
Computer Architecture
compileroptimization
Nurul Hasan
Nurul Hasan
goodnotes.hashnode.dev·Jul 07, 2025
Jul 07, 2025

Atomic Habits vs. The Mutex Mafia

In the world of multithreaded programming, there’s one golden rule: Don’t let threads fight over shared data.But how do we keep things peaceful?Enter: std::atomic and std::mutex. In this article, we’ll break down both of these synchronization tools,...

Discuss·2 reads
std::atomic

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

STON.fi: The Next-Gen DEX Powering TON Blockchain DeFi

Tommy williams·18 reads

AEON Pay: From Crypto Wallets to Everyday Life

Prochino·13 reads

Empowering the Decentralized Future: How Endless Merges Web2 Ease with Web3 Sovereignty

Edimavouge·12 reads

Top commenters this week

Ariska Hidayat
Ariska Hidayat
Buy Old Gmail Accounts
Buy Old Gmail Accounts
Sonu Goswami
Sonu Goswami
Anik Sikder
Anik Sikder
Aet
Aet

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior