<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 30, 2014 at 5:22 PM, Steve Baer <span dir="ltr"><<a href="mailto:steve@mcneel.com" target="_blank">steve@mcneel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">I would definitely be interested in helping, but don't exactly know where to start. We have a lot of users who would love to get access to numpy on our OSX and 64bit windows versions of our product.  This is only going to become a bigger problem in the future since we will probably only have a 64bit version for Window in the next version of Rhino.</div>
</blockquote><div><br></div><div>I agree. Let's start a serious discussion about how to solve the lack of numpy in IronPython.</div><div><br></div><div>We could look into using ctypes (IronClad?) and wrap what already exists.</div>
<div><br></div><div>We could look into a cross-platform DLL drop-in replacement. </div><div><br></div><div>Between speed and compatibility, initially I'm most interested in compatibility. But speed should be a long term goal. <br>
</div><div><br></div><div><div>We could write a pure-python prototype initially, and slowly move that to C#, or another CLR language. That would be useful for all non-C-based Python implementations, and would probably be quickest to write and test.</div>
<div><br></div><div>A related note: Python3 just added a new matrix multiplication operator [1]. Hope to see more numpy-related functionality in standard Python in the future.</div><div><br></div></div><div>Other ideas? Where to start?</div>
<div><br></div><div>-Doug</div><div><br></div><div>[1] - <a href="http://legacy.python.org/dev/peps/pep-0465/">http://legacy.python.org/dev/peps/pep-0465/</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>
<br></div><div>Any suggestions?<br><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>-Steve</div><div><br></div>Steve Baer<div>Robert McNeel & Associates</div><div><a href="http://www.rhino3d.com" target="_blank">www.rhino3d.com</a></div>

</div></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Fri, May 30, 2014 at 1:12 PM, Jeff Hardy <span dir="ltr"><<a href="mailto:jdhardy@gmail.com" target="_blank">jdhardy@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 30, 2014 at 2:50 PM, Doug Blank <span dir="ltr"><<a href="mailto:doug.blank@gmail.com" target="_blank">doug.blank@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>numpy is a numeric package for CPython that used a lot in science. Wondering about what it would take to develop a numpy for IronPython...</div>


<div><br></div><div>I know a few years ago that there was a paid project to port numpy to IronPython [1], but that appears to have been only for Windows, and they seem to have some unfinished bits. Not sure what the license of that is.</div>



<div><br></div><div>What to do for numpy IronPython on other platforms? </div></div></blockquote><div><br></div><div>I think you're out of luck, unfortunately.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr"><div>PyPy has been working on their numpy for years [2] and have made some great progress [3].  Would that help a numpy on IronPython?<br></div></div></blockquote><div><br></div><div>I'm not sure how the PyPy team is doing the port anymore. At one point I thought they were going to rewrite it in RPython but I don't know if that's the case. I also thought Cython might be involved. Ialso heard that the NumPy team would make their core a plain C library that could be wrapped with ctypes/CFFI. I have no idea if any of those panned out.</div>


<div><br></div><div>NumPy (and SciPy/Pandas/etc) is one of those projects I would love to see working but just don't have the time or need to do it myself. Someone else will have to step up to lead that project if it's ever going to get done.</div>

<span><font color="#888888">
<div><br></div><div>- Jeff</div></font></span></div></div></div>
<br></div></div>_______________________________________________<br>
Ironpython-users mailing list<br>
<a href="mailto:Ironpython-users@python.org" target="_blank">Ironpython-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/ironpython-users" target="_blank">https://mail.python.org/mailman/listinfo/ironpython-users</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>