Comment Comment by almostgotcaught The call overhead of using ctypes vs nanobind/pybind is enormoushttps://news.ycombinator.com/item?id=31378277Even if the number reported there is off, it's not far off because ctypes just calls out to libffi which is known to be the slowest way to do ffi. parent almostgotcaught 1 year ago
https://news.ycombinator.com/item?id=31378277
Even if the number reported there is off, it's not far off because ctypes just calls out to libffi which is known to be the slowest way to do ffi.