Uh oh!
There was an error while loading. Please reload this page.
Write about Tier 2 and JIT in "what's new 3.13" - #114826
Conversation
There are in general two editorial directions we can take:
Personally, I am biased and in favour of 1. :). Anecdotally, it was quite well received among tech communities. People want to know exactly what it is that we improved, and the docs often form the authoritative source of information, and perhaps the only source of information some people know. I recall the 3.11 Faster CPython section being shared multiple times on various tech forums, and tech news sites. Let me know what you think. I would love to collaborate on this. I like technical writing, just haven't had the time to do much recently. |
gvanrossum
commented
Feb 1, 2024
@Fidget-Spinner I am fine with you writing a longer version. I've merged this one so I get partial credit. :-) |
(This will soon be superseded by Ken Jin's much more detailed version.)
Here's some text for "what's new 3.13" describing the Tier 2 and JIT architecture. It's not complete and missing references and details -- we can always improve it later, but suggestions for improvements right now are also welcome.
I used "JIT" as the headline, rather than "Tier 2" or "micro-ops", mostly because that's apparently the catchier phrase, and also because the JIT gives the best performance. (Numbers are TBD -- they will improve over the next few months as more of the optimization pipeline lands.)
It's a bit speculative because gh-114059 (@Fidget-Spinner's optimizer) hasn't landed yet -- we can wait merging this until it has.
Once this is in, I am hoping (based on an email exchange with @Yhg1s) that this work can also be highlighted in the alpha release announcements.
📚 Documentation preview 📚: https://cpython-previews--114826.org.readthedocs.build/