[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] SDL-ctypes 0.04



Yeah, that's good news.  I'll wait until it's ready first though.  I
hate getting excited about something and then waiting for ages... ;)


On 6/30/06, Simon Wittber <simonwittber@xxxxxxxxx> wrote:
On 6/30/06, René <renesd@xxxxxxxxx> wrote:
> In general ctypes bindings are slightly slower than C ones.

Pypy 0.9, just released
(http://codespeak.net/pypy/dist/pypy/doc/extcompiler.html)

has a new extension compiler.

From the page:

Modules can be based on ctypes. This is the case in the
pypy/module/readline and pypy/module/_demo examples: they use ctypes
to access functions in external C libraries. When translated to C, the
calls in these examples become static, regular C function calls

This means, ultimately, the ctypes overhead can be removed completely.
Hooray  for Pypy!

-Sw.