Skip to content

Entries published on December 6, 2023

1 entry published on this date. See also: all entries published in December 2023, full archive.

Compile your Python

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See the first post for an introduction.

You can compile Python?

Yes. And in a lot of ways!

For example, you can use tools like Cython or mypyc to write Python, or Python-like code, and turn that Python-like code automatically into a compiled C extension for performance.

But Python itself — at least, the default “CPython” implementation you’d get when downloading from python.org — is also …

Entry published December 6, 2023. Read full entry.