Comment
Comment by xioxox
I've always thought ctypes a bit of a hack as you get crashes and so on if you're not constantly careful about updating function definitions. It would be much nicer if the compiler could catch the errors, e.g.
Even with cython (please correct me if I'm wrong), the definition needs to be duplicated in the cython script to use it.