Hi,
I really like the work you do and try to support by trying to make all my 
python project runing under PyPy, being PyPy  proponent, convince others to 
PyPy, putting some founding, talk about PyPy.

I try to learn PyPy architecture and someday contribute (if I got more free 
time). I know that PyPy bind a lot of optimizations. 
My question is how it looks from bytecode interpretation (so without JITing)?
I learned about AST optimizers for CPython (like 
https://bitbucket.org/haypo/astoptimizer, hotpy).
Does PyPy bytcode interpreter implements some of them on bytecode level? I 
know that PyPy produce similar bytecode as CPython 
(http://doc.pypy.org/en/latest/architecture.html#the-python-interpreter), so I 
guess PyPy doesn't introduce such optymalizations. But maybe on some other 
interpreter level?

PyPy fail on some astoptimizer tests. It is pure Python, but manipulates AST. 
I make a little introspection and i think, the reason is due to small bytecode 
differences? The AST (resulted and expected) looks similar, by the PyPy one is 
simpler.

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to