SWIG is another option, but I've never personally (directly) used it. It allows wrapping a library from several different languages with the same SWIG interface code (so you do the SWIG part once and get a Perl interface, a Python interface, a TCL interface, . . .). If you might want to interface from multiple languages then definately take a look at SWIG, otherwise Inline::Cpp is probably going to be the easiest route.
| [reply] |
I second the first suggestion. The easiest way is to use Inline for your language. Other approaches are far more complex.
The docs, for all the Inline modules I've looked at, are clear.
Phil | [reply] |