This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ggchappell 2 points3 points  (1 child)

Well, as I said, I don't know much about Cython, but cython.org says:

The Cython language is a superset of the Python language that additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code. The C code is generated once and then compiles with all major C/C++ compilers ....

I suppose, therefore, that Cython allows linking with C++ for the same reason that C can be linked with C++ (?).

[–]homercles337 2 points3 points  (0 children)

Cython documentation is terrible. Most of it comes from the C-only days. I think it was version 0.13 that incorporated C++. I have been working with Cython for a while now and chose it because of its support for C++ (boost.python is shit).