2 ms·
Or just don't. Lockless algorithms are hard enough with explicit and clear barrier operations. The idea that somehow empowering optimizers to further confuse
by ajross 3y ago
Or just don't. Lockless algorithms are hard enough with explicit and clear barrier operations. The idea that somehow empowering optimizers to further confuse things is a feature and not a bug is just completely bewildering to me. Leave the clever optimization to the sequential code and leave the lockless work explicit. Please.