News for hackers. Stuff that matters.
Re:Data races in Python, despite the Global Interpreter Lock by verdagon on Monday February 21, 2022 @05:42PM (#30421698)
The article isn't trying to claim either interpretation, it's just using it as an example to show that the GIL doesn't actually help protect users from concurrency problems. You'd be surprised how many people think that!

I used to think that it did as well, but then my C/Java brain kicked in and realized that couldn't be correct. I wrote this article to help others see it in action.

Re:Data races in Python, despite the Global Interpreter Lock by matheusmoreira on Monday February 21, 2022 @06:08PM (#30421944)
> I used to think that it did as well

I did too. I even wrote multithreaded test programs to see if it was true: they would always give me consistent results on Python and Ruby but on Java and C data got clobbered as expected.