Python internals, measured · Elliot Sayer

Python folklore outlives the interpreter it was measured on.

Python, its runtimes, frameworks, and the systems beneath them — read from source, measured, not assumed.

Entries
11
Series
2
Categories
4

Latest posts

All entries

Browse

Categories

Categories

Four pillars. Every entry answers the question of exactly one of them.

  • Runtime

    What CPython does with the objects, modules and frames you hand it — object layout, the import system, the eval loop, memory behaviour.

    6 entries
  • Concurrency

    What is actually parallel, and what the scheduling costs. Threads, the GIL, free threading, asyncio, subinterpreters and processes.

    2 entries
  • Tooling

    What the toolchain does at build, import or check time — import graphs, annotation resolution, profilers, benchmark harnesses, packaging.

    2 entries
  • Frameworks

    Django, FastAPI and SQLAlchemy measured inside a real request rather than in the quickstart, counted in queries and milliseconds.

    1 entry

Arrow keys to move, Enter to open.