On May 27, 2005, at 3:01 PM, Dethe Elza wrote:

>> While Pyrex is a pretty reasonable way to write extensions, PyObjC or
>> ctypes is generally less painful when wrapping a small number of
>> functions.
>>
>
> This is very interesting.  I thought the basic choices for wrapping C
> functions were:
>
> * Pyrex
> * ctypes
> * Write Obj-C and import with PyObjC

* SWIG (ughh)
* Write C++ and use Boost.Python (ugh)
* Python C API directly (not really *that* bad)
...

> I hadn't realized that you could import functions with PyObjC and no
> (additional) intervening Obj-C code. Very very cool.

This functionality has been there since 1.2 (2004-12-29).

-bob

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to