Perl/SWIG
From Wsms
[edit]
SWIG
SWIG is a toolkit for embedding C/C++ (or other compiled languages?) in perl, python, ruby and other interpreted languages.
[edit]
SWIG vs. inline:C/C++
David Moore of USCD gave a talk titled "Embedding C/C++ in Perl" to the San Diego Perl Mongers on Monday November 12, 2007. The slides from his talk are available at http://www.caida.org/~dmoore/perlmongers-20071112.pdf are are cached at http://wsms.wikiplanet.com/html/cache/perlmongers-20071112.pdf You can embed C/C++ in perl using SWIG or using inline::C/C++ from CPAN. David's conclusion was that you normally want to use SWIG, but you can use inline::C/C++ if you are more interested in tweaking your C code.
[edit]
