[Python-Dev] Speeding up CPython 5-10% (original) (raw)

Yury Selivanov yselivanov.ml at gmail.com
Mon Feb 1 12:54:28 EST 2016


Hi Brett,

On 2016-02-01 12:18 PM, Brett Cannon wrote:

On Mon, 1 Feb 2016 at 09:08 Yury Selivanov <yselivanov.ml at gmail.com_ _<mailto:yselivanov.ml at gmail.com>> wrote:

[..] If I were to do some big refactoring of the ceval loop, I'd probably consider implementing a register VM. While register VMs are a bit faster than stack VMs (up to 20-30%), they would also allow us to apply more optimizations, and even bolt on a simple JIT compiler. [..] As for bolting on a JIT, the whole point of Pyjion is to see if that's worth it for CPython, so that's already being taken care of (and is actually easier with a stack-based VM since the JIT engine we're using is stack-based itself).

Sure, I have very high hopes for Pyjion and Pyston. I really hope that Microsoft and Dropbox will keep pushing.

Yury



More information about the Python-Dev mailing list