u/mttdin r/Compilers • Recommends
Brandt Bucher – A JIT Compiler for CPython
589 subscribers • 1 video on Hallway
- Recommended by 2 people: 1 on Hacker News and 1 in engineering communities.
- Presented by Brandt Bucher, CPython Core Developer
- Linked in the descriptionencukou/subtitles-for-brandts-talkbrandtbucher/brandtbucherbrandtbucher/cpythonDOI 10.1145/3485513
Advanced. Deep dive for people who know the field.
14K views2 years ago2 recommendations
Programming languagesSystems programmingPythonCompilers and interpretersPerformance and optimization
Brandt Bucher presents a prototype JIT compiler for CPython using a copy-and-patch compilation approach.
From the 2023 CPython Core Developer Sprint The QA section is hard to understand; turn on subtitles for our best-effort transcription. (PRs welcome: github.com/encukou/subtitles-for-brandts-talk/blob/main/jit.…) Links & bibliography: Slides: github.com/brandtbucher/brandtbucher/blob/master/2023/10/10/… GitHub branch: github.com/brandtbucher/cpython/tree/justin Haoran Xu and Fredrik Kjolstad. 2021. Copy-and-patch compilation: a fast compilation algorithm for high-level languages and bytecode. Proceedings of the ACM on Programming Languages 5, OOPSLA (2021). doi.org/10.1145/3485513 Haoran Xu. 2023. Building a baseline JIT for Lua automatically. (12 March 2023). Retrieved from sillycross.github.io/2023/05/12/2023-05-12/Why it's here
2 people recommend thisWhat people say. Recommended for understanding the design, implementation, and performance of the copy-and-patch JIT compiler introduced in Python 3.13.
vanderZwanon Hacker News • Recommends
On “Python 3.13 Gets a JIT”
acqqon Hacker News • Mentions
On “What's up Python? Epic CPython commit, Django 5 and 2FA for PyPI”
Qemon Hacker News • Mentions
On “Copy-and-Patch: Fast compilation for high-level languages and bytecode (2020)”