Anyone interested in NumPy support?
This is a question to the Py2D community to gauge interest.
I'm considering doing an experiment with using NumPy for the basic math operations on Vectors, etc. in the hopes of increasing performance through the C acceleration. The main problem I see with this is the added large dependency that will make Py2D less easily redistributable (mobile? binaries? an additional installation on the user?).
While it would be possible to detect whether numpy is available and use the current implementations as a fallback, I'm not sure if there is a demand for this. The other option would be to do ctypes just for Py2D.
Would you be interested in a faster Py2D if it meant that you / your players would have to install NumPy as well as Py2D to get the acceleration? Would ctypes modules be a problem on your platform?
I would be interested but then again I'm not making games so redistribution isn't an issue for me.
In the best scenario, Py2D would supply 3 modules with the same interface : one pure-python, one using numpy, one using cython. A conditional import would test the presence of each and use the most appropriate. L.
On Tue, Nov 19, 2013 at 6:27 PM, hsharrison [email protected]:
I would be interested but then again I'm not making games so redistribution isn't an issue for me.
— Reply to this email directly or view it on GitHubhttps://github.com/sseemayer/Py2D/issues/4#issuecomment-28812174 .
Cordialement, Lionel Barret,
LBdN Consulting
http://www.lbdn-consulting.com
LinkedIn Profile : http://www.linkedin.com/in/lionelbarretdenazaris
Viadeo : http://fr.viadeo.com/fr/profile/lionel.barretdenazaris
Membre de l'Arsenal Numérique http://arsenal-numerique.org/