Hacker News new | ask | show | jobs
by sammycage 364 days ago
Nice breakdown. Seeing each core as its own machine passing messages through cache lines makes the usual atomic patterns much easier to reason about. This mindset also explains why misuse of atomics can kill performance when you forget how caches talk to each other. Good mental model, bookmarked for future reference.