[Python-ideas] discouraging direct use of the C-API

Donald Stufft donald at stufft.io
Thu May 7 11:14:18 CEST 2015


> On May 7, 2015, at 5:11 AM, Stefan Krah <stefan at bytereef.org> wrote:
> 
> Caleb Hattingh <caleb.hattingh at ...> writes:
>>> -1. CFFI is much slower than using the C-API directly.
>> 
>> I am quite interested in this; do you happen have a link to a case
> study/gist/repo where this has been
>> measured? Even if you can remember people’s names involved or something
> similar, I could google it myself.
> 
> I've measured it here:
> 
> https://mail.python.org/pipermail/python-dev/2013-December/130772.html
> 
> 
> CFFI is very nice (superb API), but not for high performance use cases.
> 

Is the source code for this benchmark available anywhere?

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150507/8f6cd1a2/attachment.sig>


More information about the Python-ideas mailing list