On 2012-11-05, at 10:32 , Ronald Oussoren wrote:
My arguments for ctypes:
- doesn't require compilation
- easier to maintain (no C/toolchain knowledge/ownership needed)
- pure Python is impossible to exploit (unlike pure C)
That's not not quite true, python code that uses ctypes can still cause buffer overflows and the like
Such as segfaulting the interpreter. I seem to reliably segfault everything every time I try to use ctypes.