2 ms·
> I'm terrified of lock-free stuff because it typically depends on nasty things like memory order, cache behavior and other subtle things, mostly nonportable an
by bsder 11y ago
> I'm terrified of lock-free stuff because it typically depends on nasty things like memory order, cache behavior and other subtle things, mostly nonportable and simply awful to get right on a new platform.
Not really. Most lock free stuff relies on a single compare-and-swap or memory barrier instruction. Even the cheap microcontrollers have them these days.
> Also, I keep finding bugs in lock free structures. That's annoying.
I recommend you leave programming now. :) I have yet to find a library that doesn't have bugs.