News for hackers. Stuff that matters.
Re:Data races in Python, despite the Global Interpreter Lock by michaelrpeskin on Monday February 21, 2022 @06:50PM (#30422325)
I haven’t looked at the source, but I’ve written similar interpreters and I’d be willing to bet its

    atomic tmp=x
    atomic tmp+=1
    atomic x=tmp
    atomic tmp=y
    atomic tmp-=1
    atomic y=tmp

There are no comments on this comment yet.