Create Python Bindings with Cython
Background Foreign function interface As we know, many operating systems only provide C API for system calls. This statement is not quite correct, but we assume this is right because we usually interact with operating systems via C API directly or indirectly. Have you ever thought about that why non-C language can interact with operating systems? Before we discuss this question, we need to know some knowledge of foreign function interface (FFI)....