meta_pixel
Tapesearch Logo
Log in
Talk Python To Me

#225: Can subinterpreters free us from Python's GIL?

Talk Python To Me

Michael Kennedy

Technology

4.8635 Ratings

🗓️ 12 August 2019

⏱️ 71 minutes

🧾️ Download transcript

Summary

Have you heard that Python is not good for writing concurrent asynchronous code? This is generally a misconception. But there is one class of parallel computing that Python is not good at: CPU bound work running the Python layer.

Transcript

Click on a timestamp to play from that location

0:00.0

Have you heard that Python is not good for writing concurrent asynchronous code?

0:03.9

This is generally a misconception, but there is one class of parallel computing that Python

0:08.3

is not good at CPU-bound work running in the Python layer.

0:12.2

What's the main problem?

0:13.4

It's Python's Gill or global interpreter lock, of course.

0:16.5

Yet the fix for this restriction might have been hiding inside Python for 20 years, subinterpreters.

0:22.1

Join me to talk about PEP 554 with core developer Eric Snow.

0:26.5

This is Talk Python to Me, episode 225, recorded August 2nd, 2019.

0:31.3

Music Welcome to Talk Python to me, a weekly podcast on Python, the language, the libraries, the ecosystem, and the personalities.

0:51.2

This is your host, Michael Kennedy. Follow me on Twitter where I'm at

0:54.3

M. Kennedy. Keep up with the show and listen to past episodes at talk python.fm and follow the show

0:59.5

on Twitter via at Talk Python. This episode is supported by Linode and TopTal. Please check out what

1:06.2

they're offering during their segments. It really helps support the show. Eric, welcome to Talk

1:10.3

Python to me. Hi. How's it going? It's going really well. It's an honor to have helps support the show. Eric, welcome to talk Python to me.

1:14.5

Hi, how's it going? It's going really well. It's an honor to have you on the show.

1:19.6

We met up at Pye Cascades and talked a little bit, but this latest work you're doing to address concurrency in parallelism in Python is super interesting, so I'm looking forward to

1:24.9

you about that. Well, it's super interesting to me, too.

1:28.2

Yeah, I can imagine. I'm glad you're interested. This kind of stuff is, I don't know,

1:31.6

there's just something that draws me in, and I'm really, uh, enjoy exploring it. But before we do,

1:36.4

let's start with your story. How'd you get into programming on Python? Oh, boy, I had all sorts of ideas on what I wanted to do growing up, and computers was not really

1:46.4

one of them.

1:47.5

But then I ended up at school and somehow ended up, signed up for computer stuff, ended up

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Michael Kennedy, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Michael Kennedy and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.