I found this interesting paper on Cross-Module Quickening, by Felix Berlakovich and Stefan Brunthaler at ECOOP 2024. It makes use of CPython 3.12.0's specializing interpreter to quicken across C extensions. So far it seems they introduce more specializations to achieve this. Still reading the paper to learn more.
The key idea is to provide the C extension with an interface to register specialized, extension-specific interpreter instructions
https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2024.6
I found this interesting paper on Cross-Module Quickening, by Felix Berlakovich and Stefan Brunthaler at ECOOP 2024. It makes use of CPython 3.12.0's specializing interpreter to quicken across C extensions. So far it seems they introduce more specializations to achieve this. Still reading the paper to learn more.
https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2024.6