Y
Hacker News
new
|
ask
|
show
|
jobs
by
bliker
3060 days ago
I've been using ctypes for the exact same purposes and it has been pretty painless. Why have you decided to use FFI?
1 comments
danielvf
3060 days ago
As far as I can see, ctypes requires you to manually specify everything, rather than load it from the .h include file. This is even more work.
link
chatmasta
3060 days ago
Not to mention another source for error when testing the c code in python. Your test might fail because you forgot to update a header definition in the python, not because you introduced an error in the C code.
link