Ctypes may be the way to go on PyPy, but it is slow in CPython. It lacks
new buffer support. Well, ctype types have buffers, but they don't work
with NumPy. Array support is convoluted and slow (see _numpysurfarray.py
in Pygame 1.8.0). And Python is unsuited for writing the custom blitters
added to Pygame. But I agree that more of Pygame should be implemented
in Python.
Lenard
On 13-08-16 07:48 PM, Paul Vincent Craven wrote:
I started a pygame port based off Marcus's CTypes work. I think it is
the best way to go for an SDL 2 pygame.