[Numpy-discussion] C++ Example

Sturla Molden sturla@molden...
Tue Mar 6 18:39:27 CST 2012

Den 7. mars 2012 kl. 00:43 skrev Charles R Harris <charlesr.harris@gmail.com>:

> I don't see generics as the main selling point of C++ for Numpy. What I expect to be really useful is exception handling, smart pointers, and RIAA. And maybe some carefule uses of classes and inheritance. Having a standard inline keyword will be nice too. But I'm not a modern C++ guru, so I may have missed a lot of things.

"RIAA is evil, RAII is not" ;-)

Actually, Cython has all of those features too :-)

I am not suggesting NumPy should use Cython in the core. However if it did, the main machinery would already be in the compiler (typed memory views) :-)


More information about the NumPy-Discussion mailing list