News for hackers. Stuff that matters.
Re:Comparing the C FFI overhead in various programming langu... by eesmith on Sunday May 27, 2018 @12:40AM (#17165459)
Yes, my experience with CPython is that ctypes is slower than writing (or generating, as is the case with Cython) the Python/C extension.

However, one advantage with ctypes is that it can work with other Python implementations, like PyPy.

There are no comments on this comment yet.