Open EricFedrowisch opened 9 years ago
Here is the base info on Cython It looks somewhat promising at first glance. Basically, "Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex). It makes writing C extensions for Python as easy as Python itself." Not sure how easy it would be to package and distribute, though. Certainly it would add another layer of complexity to distributing.
Here is a page with general info about packaging python programs for distribution. It covers several tools and approaches across all the three OS environments we are considering. http://hackerboss.com/how-to-distribute-commercial-python-applications/
On PyPy on the Pi. Apparently there is some support for running a modified pygame wrapper on the Pi using PyPy to speed up the code. http://morepypy.blogspot.com/2014/03/pygamecffi-pygame-on-pypy.html
We should probably consider using virtualenv to package our software and its dependencies. http://www.dabapps.com/blog/introduction-to-pip-and-virtualenv-python/
Let's also not completely shelve the idea of a traditional port to C++ or something after everything's said and done. Chap seems to think this the optimal route.
Further research needed for code optimization using either Cython or Psycho.