
from cpython-skills16
Expert guidance for developing CPython's experimental JIT compiler, including stencil generation and LLVM toolchain setup.
This skill provides the specialized knowledge required to work on CPython's experimental Just-In-Time (JIT) compiler. It focuses on the 'copy-and-patch' compilation strategy where micro-ops (uops) are compiled into native code stencils with runtime holes.
Use this skill when modifying Tools/jit/ build scripts, editing the Python/jit.c runtime, updating bytecode that affects JIT stencils, or debugging JIT failures and the copy-and-patch pipeline.
bytecodes.c to jit_stencils.h.PYTHON_JIT, PYTHON_UOPS_OPTIMIZE) and C-level breakpoints for isolating JIT issues.Primarily designed for Claude Code and other agentic coding tools capable of executing shell commands and navigating complex C/Python repositories.
This skill has not been reviewed by our automated audit pipeline yet.