On 6/30/06, René <[EMAIL PROTECTED]> 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.

Reply via email to