Skip to content

SWIG

Although I plan to be programming primarily  in Python (and JavaScript)  this next year, I don't want to forget about C/C++.  I hope to have an opportunity to use SWIG at some point to connect high-speed code in C/C++ with Python code:

SWIG is an interface compiler that connects programs written in C and C++ with scripting languages such as Perl, Python, Ruby, and Tcl. It works by taking the declarations found in C/C++ header files and using them to generate the wrapper code that scripting languages need to access the underlying C/C++ code. In addition, SWIG provides a variety of customization features that let you tailor the wrapping process to suit your application.

Post a Comment

You must be logged in to post a comment.