Support unavailable
Please try again later

Making CPython Fast Using Trace-based Optimisations

by Mark Shannon for EuroPython 2011

CPython can be made faster by implementing the sort of optimizations used in the PyPy VM, and in my HotPy VM. All the necessary changes can be made without modifying the language or the API.

The CPython VM can be modified to support optimizations by adding an effective garbage collector and by separating the virtual-machine state from the real-machine state (like Stackless).

Optimizations can be implemented incrementally. Since almost all of the optimizations are implemented in the interpreter, all hardware platforms can benefit. JIT compiler(s) can then be added for common platforms (intel, ARM, etc.).

For more information see http://hotpy.blogspot.com/

Video

Do you have some questions on this talk? Leave a comment to the speaker!

New comment


Language
EN
Duration
60 minutes (inc Q&A)
Our Sponsors
Spotify
Python Experts
SSL Matrix
Wanna sponsor?
None