News for hackers. Stuff that matters.
Re:Interfacing Python and C: Advanced “ctypes” Features by acdha on Tuesday November 07, 2017 @11:33AM (#15644769)
It's in the standard library and doesn't require having the whole C toolchain available and working (non-trivial if you're not talking about standard things in /usr/{include,lib}).

If all you need is a simple interface to a couple of functions and you want portability across system variants, that might be the path of least resistance and the performance is often negligible if the amount of work being done in the C code is significant.

There are no comments on this comment yet.