Thursday, November 7, 2013

pypy

pypy is another python interpreter, which can run many existing python packages. The good thing is that it is even faster than cpython. The downside is that it still needs sometime to fully supports all packages, esp. numpy/scipy. The acceleration comes from JIT part.

To play with it, just apt-get install pypy. Now you can play with numpy by import numpypy. Similar to python's bytecode compilation, pypy also includes a pypycompile. pypyclean can remove the compiled pyc files.

No comments:

Post a Comment