Re:Meta pledges Three-Year sponsorship for Python if GIL rem...
by lanstin on Saturday July 08, 2023 @04:34PM
(#36648454)
And the probability of a given piece of C code that was written for a thread safe environment working when called from multiple threads at once is pretty low for anything not 100% purely functional.
[ Parent
| on HN ]
Re:Meta pledges Three-Year sponsorship for Python if GIL rem...
by CJefferson on Saturday July 08, 2023 @09:34PM
(#36650603)
Honestly, that’s not my biggest worry. My bigger worry is that now Python variables your extension is reading can be changed by another thread in real time. Before if you held the GIL, you knew nothing would change while you poked some Python datastructures.