Skip to content

Why is Pypy better than CPython for socketify if it is a C++ library under the hood ? #196

Answered by cirospaciari
Napolitain asked this question in Q&A
Discussion options

You must be logged in to vote

CFFI at the time was the fastest integration with PyPy and compatible with CPython but it has a lot of overhead, native extensions can be implemented to favor one or another, That's why I'm reworking this without CFFI using HPy with has less overhead and will allow to CPython to be way faster just by cutting the CFFI overhead.

Also we implemented a lot of Python code, asyncio is also faster in PyPy and PyPy can interop faster with native than CPython

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cirospaciari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants