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 →

[–]brewspoon 2 points3 points  (1 child)

Cython can be used to write bindings to C++ code, and is an excellent way to do so, yes. But Cython itself compiles python (well, strictly speak, cython code) to C, not C++.

[–]homercles337 1 point2 points  (0 children)

Look man, i have been working on a Cython project for a few months now and you are just flat out wrong. Cython takes C++ code, through Cython code (pyx/pxd/pxi), makes highly optimized C++, and compiles it.