[Numpy-discussion] How a transition to C++ could work
Stéfan van der Walt
Sun Feb 19 02:24:26 CST 2012
On Feb 18, 2012 11:18 PM, "Mark Wiebe" <email@example.com> wrote:
> My experience has been that providing a C API from a C++ library is no
harder than providing a C API from a C library.
Interfacing to compiled C++ libs have been tricky, so can this concern be
dismissed so easily? (Some examples that came to mind were
_import_array--easy to fix because it is ours, I guess--or Cython generated
> A really important point to emphasize is that C++ allows for a strategy
where we gradually evolve the codebase to better incorporate its language
features. This is what I'm advocating. No massive rewrite, no disruptive
changes. Gradual code evolution, with ABI and API compatibility comparable
to what we've delivered in 1.6 and the upcoming 1.7 releases.
If we're to switch to C++ (a language that can very easily be wielded in
terrible ways), then this certainly seems like a sound approach.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion