[Python-Dev] cffi in stdlib

Terry Reedy tjreedy at udel.edu
Wed Feb 27 02:39:08 CET 2013


On 2/26/2013 10:13 AM, Maciej Fijalkowski wrote:

> I would like to discuss on the language summit a potential inclusion
> of cffi[1] into stdlib.

How does it compare in terms of speed. One reason ctypes has not 
replaces hand-tuned swig is that it apparently is much slower. I know 
that someone, for instance, once did a pygame fork using ctypes to wrap 
SDL, and got it to run, but gave it up for comparative slowness reasons.

-- 
Terry Jan Reedy



More information about the Python-Dev mailing list