I love this LinkedIn post by Irit Katriel, core de...
# resources
j
I love this LinkedIn post by Irit Katriel, core developer of CPython https://www.linkedin.com/posts/irit-katriel_talks-irit-katriel-cpythons-compilation-a[…]308210917376-Edl8?utm_source=share&utm_medium=member_desktop
In version 3.13, we will have access from Python scripts to more of the compilation stages: Instead of the old 4-stage pipeline (source --> tokens --> AST --> code object), we will have a more refined pipeline (source --> tokens --> AST --> optimized AST --> pseudo bytecode --> optimized pseudo bytecode --> code object).
I think there's great value in designing developer tools in "layers" that power users can peek into
❤️ 1
similar to how I designed
poliastro
and
poliastro.core
(apologies for the shameless plug!) https://nbviewer.org/format/slides/github/astrojuanlu/scipy-us-2022-poliastro-talk/blob/main/Talk.ipynb#/6/4
🥳 1