-
Notifications
You must be signed in to change notification settings - Fork 915
cffi vs. Python C Extension #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just wanted to clarify that I do appreciate the work put in for the current implementation. Our largest use case for Kafka from Python is built on PyPy. That generally limits our options to either pure Python libraries or ones using cffi to wrap underlying C libraries. Would you be interested in something that tried to straddle this divide similar to how pyzmq offers both a Cython and a cffi backend? |
Also curious to know the answer here. |
Our experience, and also input from the Pykafka folks, is that CFFI performance was going to be a problem. It is unlikely that we'll provide a dual stack implementation any time soon, |
I am curious about the choice to use a Python C extension vs. using cffi? cffi should be easier to maintain, be much more performant on alternative runtimes (PyPy [1]), and core developers advocate for it [2]. There are high profile projects using it (pyzmq for example [3]). The documentation is pretty good [4], and instructions for packaging have gotten much simpler in recent months [5].
The text was updated successfully, but these errors were encountered: