Understanding the Python GIL
推荐理由
My favorite example is Beazley's GIL talk
说明
这是2012年由David Beazley发布的一部演讲,主题归在Python, Ruby & scripting languages。它讲的是python gil这一支里的具体问题,而不是把整个领域扫一遍。适合已经能看懂基本术语、想继续往下走的人。内容上可以概括成:David Beazley's PyCon 2010 talk explains how the Python Global Interpreter Lock works and shows experiments where multithreaded code runs slower, even on more cores, due to lock contention and context-switching overhead.这些读者给出的理由,核心是:The canonical recommendation for understanding the GIL, praised both for its clarity and for how well it explains a deep technical topic.它贴着当时的技术,看的时候要记得那是那个年份的判断。从2013年到2023年,有4位不同的读者在4个不同月份把它推荐出来,其中明确叫别人去看的有1次。适合一次性看完。讲者把一个判断讲透,演示是在给这个判断配例子。如果已经会了基本定义,就把注意力放在它怎么把python gil变成能跟着复述的例子。
视频信息
- 频道
- David Beazley
- 时长
- 46 分 10 秒
- 发布年份
- 2012
同主题更多
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich
- The spelled-out intro to neural networks and backpropagation: building micrograd
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework
- RailsConf 2014 - All the Little Things by Sandi Metz
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU
- How To Design A Good API and Why it Matters