Dave Vitek
2015-02-11 18:33:14 UTC
Hi all,
The projects page of the SWIG site suggests emailing this list with swig
success stories. This is a bit belated, but I put up a series of blog
posts about my experience lifting the CodeSonar API (>1000 methods)
using SWIG. The blog post contains some lessons learned about making
memory-safe APIs with SWIG and a little critique about things that were
frustrating (chiefly, the fact that swig is pickier about the order in
which it sees declarations/definitions than the C++ compiler).
This is the part of the blog post that discusses SWIG the most:
http://www.grammatech.com/blog/adding-c-python-java-and-c-bindings-codesonar-api-part-3
Now (half-seriously) we just need a tool for translating doxygen in the
C++ interface into RST (for python) and javadoc.
The blog post glosses over an awful lot of details. Feel free to mail
me if you have any questions, suggestions, or other feedback.
- Dave
The projects page of the SWIG site suggests emailing this list with swig
success stories. This is a bit belated, but I put up a series of blog
posts about my experience lifting the CodeSonar API (>1000 methods)
using SWIG. The blog post contains some lessons learned about making
memory-safe APIs with SWIG and a little critique about things that were
frustrating (chiefly, the fact that swig is pickier about the order in
which it sees declarations/definitions than the C++ compiler).
This is the part of the blog post that discusses SWIG the most:
http://www.grammatech.com/blog/adding-c-python-java-and-c-bindings-codesonar-api-part-3
Now (half-seriously) we just need a tool for translating doxygen in the
C++ interface into RST (for python) and javadoc.
The blog post glosses over an awful lot of details. Feel free to mail
me if you have any questions, suggestions, or other feedback.
- Dave