
Episode 59 · Season 1
59: Meta ❤️ Python 3.12
About this episode
For the second time in just a few months, we are talking Python on the Meta Tech Podcast. Python 3.12 features a whole range of new features, many of which were contributed by Meta. Carl and Itamar join Pascal to talk about their contributions to the latest release, including new hooks that allow for custom JITs like Cinder, Immortal Objects, improvements to the type system, faster comprehensions and much more. In their discussion, they talk not just about how and why those features were built but also the process of upstreaming and engaging with the community.
Got feedback? Send it to us on Threads (https://threads.net/@metatechpod), Twitter (https://twitter.com/metatechpod), Instagram (https://instagram.com/metatechpod) and don't forget to follow our host @passy (https://twitter.com/passy, https://mastodon.social/@passy, and https://threads.net/@passy_). Fancy working with us? Check out https://www.metacareers.com/.
Links
-
"Lazy is the new fast: How Lazy Imports and Cinder accelerate machine learning at Meta" - https://engineering.fb.com/2024/01/18/developer-tools/lazy-imports-cinder-machine-learning-meta/
-
"How Meta built the infrastructure for Threads" - https://engineering.fb.com/2023/12/19/core-infra/how-meta-built-the-infrastructure-for-threads/
-
Cinder on GitHub - https://github.com/facebookincubator/cinder
-
"Meta contributes new features to Python 3.12" - https://engineering.fb.com/2023/10/05/developer-tools/python-312-meta-new-features/
Timestamps
-
Intro 0:06
-
Carl Intro 2:09
-
Itamar Intro 3:27
-
Teams and Missions 5:10
-
Python 3
-
Faster Coroutines 8:57
-
Code Watchers and JIT Hooks 12:10
-
When to upstream 13:53
-
How to upstream to CPython 16:19
-
History of Cinder 21:35
-
Why not upstream Cinder? 25:48
-
Cinder hooks in CPython 29:34
-
Free Threading 34:10
-
Outro 37:08
More from Meta Tech Podcast
How do you add end-to-end encryption to a messenger that people have already been using for years, without taking away the message history they expect to be there? Emma Connor works on the team behind…
Pascal is going on Recharge for August so there will be no regular interview episode. However, we want to hear your questions for our mailbag episode. Send them to us on Instagram (https://www.instagr…
What changes for you as a developer when the device moves from your pocket to your face? The battery shrinks by an order of magnitude, the thermal budget is whatever won't make your nose uncomfortable…
Your smart glasses run all day on a battery narrower than your pinky finger and building it required reinventing how batteries are made. In this episode, Pascal talks to Karthik and Myuran, the engine…
You've probably spotted those little circles of your friends' faces popping up on Facebook Reels. They look simple enough, but building them was a proper engineering challenge. In this episode, Pascal…