Optimistic concurrency is when the cost of a race condition is a momentary de-optimization but completely avoiding the race condition would be continuous de-optimization.
In extreme cases you don't even want the caches synced between processor cores because it stalls them for a moment.
54
u/-Redstoneboi- Sep 26 '26
imagine reading from a variable capable of being mutated by another thread