[SciPy-dev] Inclusion of cython code in scipy
Fri Apr 25 13:34:31 CDT 2008
On Fri, Apr 25, 2008 at 10:23 AM, Stéfan van der Walt <email@example.com> wrote:
> 2008/4/25 Nathan Bell <firstname.lastname@example.org>:
> > Replacing exisiting Python/C/C++ code with Cython is my only objection.
> Just to be clear: do you think using the raw NumPy and Python C API is
> easier and cleaner than using Cython?
That's a false dichotomy. I think writing useful C/C++ libraries and
then interfacing them w/ SWIG/Cython or handwritten wrappers is a more
sustainable and safer approach.
IMO separating the wrappers from the implementation is a good idea.
Wrapping C code, especially C code that was written in a way conducive
to wrapping, is not difficult. This holds true for SWIG/Cython/flavor
of the week.
Nathan Bell email@example.com
More information about the Scipy-dev