[pypy-dev] your thoughts on low level optimizations

Yury Selivanov yselivanov.ml at gmail.com
Thu Sep 1 20:26:35 CEST 2011


On 2011-09-01, at 1:03 PM, Armin Rigo wrote:
>> Back on topic, it surprised me, too, that RPython components are not
>> modular. Do I understand correctly that this means that, after making
>> modifications to the component, the entire PyPy interpreter needs to be
>> rebuilt?
> 
> Yes.  You should only build RPython modules if you have a specific
> reason to.  One example is the numpy module: we want to build it in a
> special way so that the JIT can look inside and perform delayed
> computations "in bulk".

Will it be possible at some point to write modules for pypy in RPython without the need to rebuild the entire interpreter?

This way, for instance, we could write an import hook to compile *.rpy files on demand to simplify distribution.

-Yury


More information about the pypy-dev mailing list