Friday, August 7, 2009

pypy woes

i fought mightily to compile some of my existing code with pypy. the docs warn that much of ordinary python is outside of rpython, and they are right. the speed ups i saw with things that pypy could translate to c were indeed impressive, but it was just too hard to shoehorn real-life python into rpython, even for some fairly simple parts of the code. i know this isn't what rpython is for, but i was hoping... maybe i'll try out cython and see if it's better than just writing c for scipy.weave.

No comments: