CPython Internals
Inside Pydantic v2’s Core: How pydantic-core Compiles Schemas to
Understand pydantic core schema compilation, the main trade-offs, and the practical checks to use before relying on it in practice.
Inside CPython Sub-Interpreters: How Immortal Objects Share Memory Without the GIL
The technical barrier that kept Python’s sub-interpreter feature from being genuinely useful for a decade wasn’t parallelism — it was reference counting.
Inside CPython’s obmalloc: How the Small Object Allocator Avoids the System Heap
Jump to: What exactly does obmalloc manage, and what falls through to system malloc? · How are arenas, pools, and blocks structured inside CPython?
Free-Threaded Python 3.13t: Measuring Contention With perf c2c
The first time you run a threaded dict.get loop on python3.13t and watch it scale at 1.3x on 8 cores instead of 7x, the instinct is to blame Python.
Step-by-Step Tutorial: Writing Python Extensions in Rust With PyO3
I hit a massive performance wall last Tuesday. I was tasked with parsing a 50GB dataset of nested JSON logs for a cybersecurity client doing malware.
