[IronPython] RE: Numpy port

Paul Barrett pebarrett at gmail.com
Sun Aug 28 05:48:30 CEST 2005


Option 1 is the way to go if you want a quick and dirty
multidimensional array module that currently has a lot of community
support.  Numarray/Numeric 3 was designed with the C programming
language in mind and is therefore constrained by C's lack of
object-oriented features.  The Numarray code can be quite dense and
complex, making it difficult for someone new to the code to add new
features.

Option 2 is the preferred long term solution, since you will be able
to use the object-oriented features of C++ or C# to simpify the design
and implementation. The module is also likely to be faster for small
arrays and more efficient, particularly for operations that involved
Python sequences and multidimensional arrays.

IronPython provides an excellent opportunity to design and implement a
multidimensional array module that uses OO language features for fast
and efficient code. Let me know if you would like me to elaborate on
this some more.

 --

Paul Barrett



More information about the Ironpython-users mailing list