Monitor performance issues & errors in your code

Why is Python slow?

Episode #265, published Tue, May 19, 2020, recorded Tue, May 12, 2020

The debate about whether Python is fast or slow is never-ending. It depends on what you're optimizing for: Server CPU consumption? Developer time? Maintainability? There are many factors. But if we keep our eye on pure computational speed in the Python layer, then yes, Python is slow.

In this episode, we invite Anthony Shaw back on the show. He's here to dig into the reasons Python is computationally slower than many of its peer languages and technologies such as C++ and JavaScript.
Links from the show

Anthony's CPython Source Book:
Anthony's PyCon Talk:
N-body problem example:
HPy project:
Austin profiler:

Prior episodes:
#240: A guided tour of the CPython source:
#214: Dive into CPython 3.8:
#168: 10 Python security holes:
Episode transcripts:

--- Stay in touch with us ---
Subscribe to us on YouTube:
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Talk Python's Mastodon Michael Kennedy's Mastodon