So, whenever someone asks on @handmade_hero why I don't use C++'s atomics, I can just cut-and-paste this link:https://stoyannk.wordpress.com/2016/04/30/msvc-mutex-is-slower-than-you-might-expect/ …
@TylerGlaiel @handmade_hero Well, the point is less whether you do or don't, and more that you _could_, except not with the CRT now :)
-
-
@cmuratori@TylerGlaiel@handmade_hero An uncontended atomic increment/decrement is very close to free. You _could_ do 1000 in a loop. -
@cmuratori@TylerGlaiel@handmade_hero If a lot are contended, sure, that goes up. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.