Differences between revisions 3 and 4
Revision 3 as of 2006-04-24 06:17:22
Size: 856
Editor: d220-238-73-98
Comment:
Revision 4 as of 2006-04-24 06:17:49
Size: 862
Editor: d220-238-73-98
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
* NOTE: you need to know C to work with C types. However it does mean you can work on some things without a compiler. Which is a big part of the hurdle on some platforms.
* NOTE2: pygame-ctypes will probably need C. Just like pyopengl-ctypes does. Pygame is not only a binding to SDL.
 * NOTE: you need to know C to work with C types. However it does mean you can work on some things without a compiler. Which is a big part of the hurdle on some platforms.

 
* NOTE2: pygame-ctypes will probably need C. Just like pyopengl-ctypes does. Pygame is not only a binding to SDL.

PygameOnCtypes

Pygame wraps some SDL libraries (SDL, SDL_Image etc) using C code. It also provides some extra misc. C functions.

Python2.5 will include ctypes in the standard library. SoC 2006 is a good opportunity to recreate the pygame API using ctypes. This will let the average python programmer, who does not work with C, to hack on and extend pygame.

This same work (ctypes conversion) is already happening with PyOpenGL.

  • NOTE: you need to know C to work with C types. However it does mean you can work on some things without a compiler. Which is a big part of the hurdle on some platforms.
  • NOTE2: pygame-ctypes will probably need C. Just like pyopengl-ctypes does. Pygame is not only a binding to SDL.

* NOTE3: ctypes does not have a stable api yet, and does not work on ARM. Both of which should be fixed in the future.

CodingProjectIdeas/PygameOnCtypes (last edited 2008-11-15 13:59:40 by localhost)

Unable to edit the page? See the FrontPage for instructions.