Ironclad 0.5 Released - Use numpy from IronPython
William Reade, the main developer of Ironclad, has just announced the release of version 0.5.
- Ironclad 0.5 Announcement
- Ironclad Project Homepage
- Download Ironclad Source and Windows Binaries
- Ironclad Mailing List
There is still a lot of work to do, but this is great progress.
From the announcement:
Our original goal for 0.5 was to import numpy, from IronPython, and do something with it. With one monstrous caveat, we have reached that goal; the problem is that you need to comment out line 532 of numpy.core.numerictypes.py before it'll import. That line reads "_unicodesize = array('u','U1').itemsize", and fails trying to construct a unicode array; however, since _unicodesize appears to be unreferenced, we feel reasonably comfortable ignoring it for now.
Once numpy is imported, you can create integer arrays and do a few things with them; of course, the number of things you can do is still dwarfed by the number of things you can't do. You can add, subtract and multiply integer arrays, and raise them to integer powers... and that's about it.
Ironclad targets IronPython 2 and although the underlying techniques should be cross-platform it currently only builds on Windows. Mono / Linux hackers welcomed!
UPDATE: It turns out that _unicodesize is no longer used, and in response to us asking what it is for it has now been removed...
Comments
Post a Comment