Re: c interfacing in 2.5

2007-09-15 Thread Szabolcs Nagy
Diez B. Roggisch wrote: > ctypes is for C. Where it is great to use. if you need simple wrappers then swig and ctypes are both good since they can generate it for you pyrex is also good for wrapping and for writing c extension code > If you need C++-wrapping, I recommend SIP. i recommend py++

Re: c interfacing in 2.5

2007-09-15 Thread Diez B. Roggisch
Rustom Mody schrieb: > I used python extensive 3-5 years back. Coming back I find some > changes. Trying to understand whats new and would appreciate any > help/comments/pointers. > > Earlier there were basically two options: > SWIG: convenient but inefficient > Native (Extending/Embedding): an

c interfacing in 2.5

2007-09-15 Thread Rustom Mody
I used python extensive 3-5 years back. Coming back I find some changes. Trying to understand whats new and would appreciate any help/comments/pointers. Earlier there were basically two options: SWIG: convenient but inefficient Native (Extending/Embedding): an efficient way of getting a headache