Still lots of work to do (especially around PixelArray
buffers and such). Then of course, there is the issue of
binary wheels, so that `pip install
pygame` works without needing to compile
things from source.
How is the speed? (when do we use this
tool? Is it fast enough?)
If your code is already quite well optimized, and not
spending much time in python, you can't expect to see an
improvement. However, if you are pushing boundaries in
your python code, you can expect very good increases.
Some examples where you can expect it to be faster:
- if profiling and a pygame function (like blit) isn't
at the top of the slow bits.
- collision detection (if you aren't using fancy
algorithms).
- a pure python ray caster.
- writing a music synthesizer in python python.
Where it can be slower.
- if you are going into C code for a lot of small
operations. Like when using rect.
For me, I'm interested mostly in this for a physics art
project which was really slow, and also for a software music
synth written in pure python. Even more interesting is
running pypy as a separate process for these tasks, and run
the gui process with CPython.