This release uses SWIG 1.3.28. The latest version of SWIG brings huge improvements in performance, bringing it on par with Boost.Python according to my crude benchmarks. The advantage of SWIG is that it is much more easy to build, being supported by the
distutils package (though I had problems with C++ support). You don’t have to learn a new set of building tricks like when using Boost. So, it seems that SWIG is back in the game !
Big thanks to the SWIG development team !
Update : Using the
-O optimizing option in SWIG 1.3.28 yields even better performance, thus making the SWIG wrapper effectvely faster than the Boost.Python one. I don’t know what happens under the hood though, but at least I can read the generated code, contrary to what happens in Boost. My unit and torture tests behave as before, so it seems everything is OK ! Great !