notfred wrote:Oh dear $Deity. Looks like another "Just because you can doesn't mean that you should!"
morphine wrote:You know, I fully agree with the assessment. And yet, I bet that this thing has been like super-mega-incredibly-useful to a number of people at some point. Probably explains the continued development.
FlamingSpaceJunk wrote:Python can be extended via C or C++ (https://docs.python.org/3/extending/extending.html) as well, and that's really the proper way to use C/C++ code in Python.
CFFI is just quick and dirty. If you don't have the skills or the time to write a proper module yet still need to use a C library, CFFI.