[Libevent-users] looking for a swig interface for libevent

Scott Lamb slamb at slamb.org
Thu Jan 4 19:10:15 EST 2007


On Dec 25, 2006, at 10:16 AM, william at opensource4you.com wrote:

> I'm python developer and using libevent via pyevent (pyrex).
> But, is there any one having a Swig interface for libevent ?

Why would you want one? If pyevent works, what makes you think a swig  
wrapped would be better? I haven't been impressed with swig, and  
apparently Guido van Rossum hasn't either:

"I've yet to see an extension module using SWIG that doesn't make me  
think it was a mistake to use SWIG instead of manually written  
wrappers. The extra time paid upfront to create hand-crafted wrappers  
is gained back hundredfold by time saved debugging the SWIG-generated  
code later."

http://www.artima.com/weblogs/viewpost.jsp?thread=95863

-- 
Scott Lamb <http://www.slamb.org/>




More information about the Libevent-users mailing list