[Numpy-discussion] incorporating C/C++ code (original) (raw)
Philip Austin paustin at eos.ubc.ca
Thu Jun 29 15:35:39 EDT 2006
- Previous message (by thread): [Numpy-discussion] incorporating C/C++ code
- Next message (by thread): [Numpy-discussion] incorporating C/C++ code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Christopher Barker writes:
If you are writing C/C++ code specifically to be used as a python extension, pyrex and boost::python are good choices. There was a Numeric add-on to boost::python at one point, I don't know if anyone has modified it for numpy.
Yes, I've been migrating my extensions to numpy and will put up a new num_util.h version on the site (http://www.eos.ubc.ca/research/clouds/num_util.html) this weekend (it's about a 10 line diff). When I get a chance I'm also planning to add a page to the scipy wiki so we can see the same extension wrapped with boost, swig, f2py and pyrex. -- Phil
- Previous message (by thread): [Numpy-discussion] incorporating C/C++ code
- Next message (by thread): [Numpy-discussion] incorporating C/C++ code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]