Hacker News new | ask | show | jobs
by toxik 99 days ago
PyPy on numpy heavy code is often a lot slower than CPython
1 comments

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