Compiled Python is FAST
Doug Mercer Doug Mercer
10.1K subscribers
81,968 views
0

 Published On Jun 11, 2023

Sign up for 1-on-1 coaching at https://dougmercer.dev
—————————————————————————————————————————
Python has a bit of a reputation -- fast to write, but slow to run.

In this video, we focus on a simple to understand dynamic programming problem that would be terribly slow in native Python or numpy. We show that Python can achieve (and actually exceed) C++ level performance with the help of just-in-time and ahead-of-time compilers such as mypyc, Cython, numba, and taichi.

Also, I finally got a camera, so, uh... face reveal, I guess.

#python

Chapters
---------------
00:00 Intro
01:07 The Problem
02:38 numpy
03:08 mypyc
04:08 cython
06:46 numba
07:58 taichi
09:47 Results
11:48 Final Thoughts

show more

Share/Embed