While ctypes is easy for simple C, its reliance on `libffi` for dynamic calls introduces significant runtime overhead, potentially making it up to 2x slower than pybind11 or CPython for certain workloads.
Open the full topic