Has the Python GIL been slain? - HackerNoon.com

By Anthony Shaw

Has the Python GIL been slain?

Anthony Shaw

What is the GIL?

Avoiding the GIL in CPython

from multiprocessing import Process

def f(name):

print 'hello', name

if __name__ == '__main__':

p = Process(target=f, args=('bob',)) p.start()


PEP554 and the death of the GIL?

What if there was a better way?

That looks inefficient

Pickle v5 and Sub-Interpreters PoC

That sure looks like a lot of boilerplate

How much overhead does a sub-interpreter have?

What about asyncio?

Sounds great, ship it!

Conclusion: Is the GIL dead?