On 3/11/2011 4:15 PM, Patrick wrote:
Hi,

I saw in the Beginner document that "•Is easily extended by adding new
modules implemented in a compiled language such as C or C++. ".

While to my investigation, it seems not that easy or did I miss
something?

boost python (C++ libraries need to be re-compiled with written
wrappers again?).
SWIG  (It works by taking the declarations found in C/C++ header and
using them to generate the wrapper code that scripting languages need
to access the underlying C/C++ code).

cytpes does not require recompilation. Not as fast either. But good enough for many purposes.

--
Terry Jan Reedy


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to