logoalt Hacker News

toxikyesterday at 8:09 AM1 replyview on HN

PyPy on numpy heavy code is often a lot slower than CPython


Replies

mattipyesterday at 9:29 AM

Yes. The C API those libraries use is a good fit to CPython, a bad fit to PyPy. Hence CFFI and HPy. Actually, many if the lessons from HPy are making their way into CPython since their JIT and speedups face the same problems as PyPy. See https://github.com/py-ni