
Philip Herron
This book is for developers who are familiar with the basics of C and Python programming and wish to learn Cython programming to extend their applications.
讲的比较详细,特别是embeed的那个例子,很不错。cython本质是编译成C再编译执行,因此有两种方式,扩展和嵌入,取决于可执行文件是谁。通过cython的public签名,cython生成的c代码不会被混淆,因此C可以反向调用py的函数,注意PyGilState和PyThreadState便可以方便快捷的写出一个嵌入py的程序,比如你的cpp想嵌入py的话这样就很方便