
On 2009-03-03 10:38, Stefan Behnel wrote:
Hrvoje Niksic wrote:
Stefan Behnel writes:
pycnweb wrote:
I am now writing a python extension, but I confuse with the reference. If you care more about working code than fighting confusion, Cython might be worth a look. Stefan, please stop doing this. This list is about helping people using Python/C, not Cython advocacy.
Where is the difference?
The list would be called cython-sig otherwise :-)
There are many other alternatives to approaching Python extension writing in C/C++:
- use ctypes
- use Boost.Python
- use SWIG
- use sip
- use PyCXX
- use PyRex/Cython
- use Robin
- ...
(there are lots more)
However, this list is about the layer underneath all of those. It's about the Python C API and there are many good reasons to use it directly rather than using one of the above wrappers or wrapper generators.
-- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Mar 03 2009)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/