#265 Why is Python slow?


Manage episode 262356465 series 83399
By Michael Kennedy and Michael Kennedy (@mkennedy). Discovered by Player FM and our community — copyright is owned by the publisher, not Player FM, and audio is streamed directly from their servers. Hit the Subscribe button to track updates in Player FM, or paste the feed URL into other podcast apps.
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: realpython.com/products
Anthony's PyCon Talk: youtube.com
N-body problem example: github.com
HPy project: github.com
Austin profiler: github.com
Prior episodes:
#240: A guided tour of the CPython source: talkpython.fm
#214: Dive into CPython 3.8: talkpython.fm
#168: 10 Python security holes: talkpython.fm

Sentry Error Monitoring, Code TALKPYTHON
Talk Python Training

334 episodes