Chapter

Compilers and JIT with Typed Python
listen on Spotify
2:04:47 - 2:09:48 (05:01)

The guest shares his experience in writing a compiler in a typed and well-typed language, and how it relates to why computer science is taught in a certain way. Later, he explains how the JIT in Python compiler works.

Clips
Numba is a compiler for Python that produces optimized machine code for loops and array operations.
2:04:47 - 2:07:01 (02:14)
listen on Spotify
Python
Summary

Numba is a compiler for Python that produces optimized machine code for loops and array operations. It is designed to speed up Python functions that use NumPy arrays.

Chapter
Compilers and JIT with Typed Python
Episode
#224 – Travis Oliphant: NumPy, SciPy, Anaconda, Python & Scientific Programming
Podcast
Lex Fridman Podcast
The Just-In-Time (JIT) compilation in Python takes your code and compiles it, replacing your original function with an interaction with this new compiled function, allowing for faster execution times.
2:07:01 - 2:09:48 (02:46)
listen on Spotify
Just-In-Time (JIT) Compilation
Summary

The Just-In-Time (JIT) compilation in Python takes your code and compiles it, replacing your original function with an interaction with this new compiled function, allowing for faster execution times. Although compilers can be challenging to create and easy to turn into spaghetti code, Python's decorators make the process easier.

Chapter
Compilers and JIT with Typed Python
Episode
#224 – Travis Oliphant: NumPy, SciPy, Anaconda, Python & Scientific Programming
Podcast
Lex Fridman Podcast