C Module question

John Machin sjmachin at lexicon.net
Mon Nov 10 22:12:01 CET 2008


On Nov 11, 12:55 am, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Mon, 10 Nov 2008 05:44:44 -0800, boblat... at googlemail.com wrote:
> > All in all I must say that implementing a C extension is a piece of
> > cake. Had I known that it was this straightforward I wouldn't have asked
> > my questions in the first place. Making the whole thing more robust will
> > be a bit more difficult

Forget "more robust". You need "quite robust". Seriously consider
abandoning your "piece of cake" euphoria and use Cython or ctypes
instead. At the very least check out the C code that Cython generates
for a simple task and consider whether you really want to hand-code
that.




More information about the Python-list mailing list