Saturday, September 17, 2005

Python wrapper tool performance

There are a few python wrapper tools available now, such as Boost.Python, SWIG and SIP. Both Boost.Python and SWIG provide good template support and are fairly easy to use. Then which one bring us less performance penalty?

R. Geus gave a talk on this topic, named "Python Wrapper Tools; a Performance Study", at EuroPython 2004 conference. Here is the link of the PDF file. Surprisingly, Code generated by SIP is the fattest, followed by the one generated by Boost.Python. And the one using SWIG is the slowest.

0 Comments:

Post a Comment

<< Home