8 ms·
PyPy work well with CPython modules but the performance is not that great, with CFFI performance is really good in PyPY, HPy project will change this https://hp
by cirospaciari 4y ago
PyPy work well with CPython modules but the performance is not that great, with CFFI performance is really good in PyPY, HPy project will change this https://hpyproject.org/ https://hpyproject.org/
- deleted 4y ago[deleted]
- throwaway894345 4y agoLast I checked, Pypy wasn’t compatible with many important packages in the Python ecosystem. As of a couple years ago, there was no trustworthy, supported package for talking to a Postgres database with Pypy because psycopg2 wasn’t supported.
- svth 4y agoI've been using PyPy and psycopg2cffi in production for the last 5-6 years or so without any issues. https://pypi.org/project/psycopg2cffi/ https://pypi.org/project/psycopg2cffi/
- throwaway894345 4y agoInteresting. I wasn't able to get that working when I tried several years ago. I forget the specific issue.
- qorrect 4y agoWhen is the last time you checked ? I have run it with pandas+numpy and postgres+timescale without issue for the last year.
- throwaway894345 4y agoSeveral years ago now.
- cirospaciari 4y agopostgresql can work with psycopg2 but is not the same performance as psycopg2cffi , i will integrate some databases to PyPy, and also HPy project will bring any Cython library to PyPy with basically the same performance or better.