SWIG vs Pyrex vs Cython -- a quicky question

Russel Winder russel.winder at concertant.com
Mon Sep 21 07:35:18 BST 2009


Not an on-topic question I guess, but the audience here is likely
knowledgable on this topic, so makes a great sample.

For calling C functions from Python test code, to unit test the C code,
is it better to use SWIG or Pyrex or Cython?  ctypes is not a candidate
I think as this is not connecting to a library, shared object or DLL.

Thanks.

(If people want to email me privately rather than the list, I will
collate and publish results received.)

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel at russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090921/15a7747f/attachment-0002.pgp 


More information about the bazaar mailing list