Python without the GIL | Talks at DeepSource
Вставка
- Опубліковано 23 сер 2023
- Python has been a single-threaded language for the longest time, but it looks like that is about to change very soon. With the introduction of PEP 703, Python as a language could change very quickly in the next few years. In this talk, Tushar summarizes the ongoing developments and what to expect from Python in the future.
Q&A
40:54 Do threads scale beyond the number of cores?
42:11 How do I make sure that my library is thread-safe?
42:59 What's different with Biased Reference Counting?
46:48 How is no-gil different from sub-interpreters?
48:43 How does no-gil affect the Faster CPython project?
50:18 How does Python compare to Mojo?
Resources:
PEP 703: peps.python.org/pep-0703
Sam Gross' original paper "Multithreaded Python without the GIL":
docs.google.com/document/d/18...
Follow Tushar on Twitter: / sadhlife
Tushar's blog: tushar.lol/ - Наука та технологія
Promo`SM