Write about Tier 2 and JIT in "what's new 3.13" by gvanrossum · Pull Request #114826 · python/cpython · GitHub
Skip to content

Write about Tier 2 and JIT in "what's new 3.13" - #114826

Merged
gvanrossum merged 1 commit into
python:mainfrom
gvanrossum:whatsnew
Feb 1, 2024
Merged

gvanrossum merged 1 commit into
python:mainfrom
gvanrossum:whatsnew

Conversation

@gvanrossum

@gvanrossum gvanrossum commented Jan 31, 2024

Copy link
Copy Markdown
Member

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/

@Fidget-Spinner

Fidget-Spinner commented Feb 1, 2024

Copy link
Copy Markdown
Member

@Fidget-Spinner

Fidget-Spinner commented Feb 1, 2024

Copy link
Copy Markdown
Member

I created gh-114863 to track whats new changes for faster cpython 3.13. Also #114862 as this PR but added more stuff.

@gvanrossum
gvanrossum merged commit 2dea1cf into python:main Feb 1, 2024
@gvanrossum
gvanrossum deleted the whatsnew branch February 1, 2024 16:54
@gvanrossum

Copy link
Copy Markdown
Member Author

aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
(This will soon be superseded by Ken Jin's much more detailed version.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants