I agree that this seems like two PEPs. For now, we should have a PEP solely for establishing what are the goals for acceptance of the PEP, and what it would take to acheive those goals.
Choosing implementation details, like the nature of region selection, seems out of place in this first PEP. Even if it were PEP-worthy, the highly technical discussion it needs is very different from a
discussion about broad requirements, ease of support and timelines that a broad “JIT acceptance” PEP merits.
I too am a bit concerned about putting specific number on the goals as that could create some perverse incentives to not improve interpreter performance or to rush in features that should wait.
I can’t help but point out that past predictions for performance progress have rarely panned out precisely as predicted
Indeed GitHub - markshannon/faster-cpython: How to make CPython faster. · GitHub ![]()
Regarding startup time and memory overhead, we’re already in good shape there.
So that’s more just a case of ticking a box than making any changes.
Warmup time is not well defined, and assumes behavior that might not exist so I think we
should leave that out [1602.00602] Virtual Machine Warmup Blows Hot and Cold
Regarding the understandability and maintainability of the JIT:
I think that the best way to improve that, by far, is with better documentation.
There are many complex parts of CPython, the parser, the GC, and the bytecode compiler, to
name a few. All of those are made much more understandable by having clear internal docs.
Pablo’s docs on the GC are an excellent example, making a complex subject much more approachable.