this post was submitted on 06 Aug 2023
19 points (100.0% liked)

Python

3461 readers
1 users here now

News and discussions about the programming language Python


founded 6 years ago
MODERATORS
 

Meta is dedicating 3 engineers to get the nogil patches into cpython. There are some other companies stepping up as well. This is huge this is the closest we have ever been to solving the issue of the GIL.

all 6 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 2 years ago (1 children)

As a filthy casual, could anyone give me a link or brief summary as to why the GIL should/shouldn’t go away?

[–] Dogeek 2 points 2 years ago

The GIL is a thread lock. It prevents threads from accessing the same memory space, eliminating race conditions and more importantly, keeping the reference counters correct so that the python garbage collector can correctly free memory (avoiding leaks)

[–] [email protected] 3 points 2 years ago

can't wait to try it out

[–] [email protected] 2 points 2 years ago