in reply to Inline::C vs. XS vs. SWIG
I'm not familiar enough with XS and SWIG to give a comparison, but I feel compelled to say something as no one else has yet responded. My brief excursions into both XS and Inline have convinced me never to touch XS unless I have to. Inline is easy to use and is constantly being developed and improved (the mailing list is rather active and Brian Ingerson is doing some interesting stuff with it). I do know that Inline must use the same compiler that compiled your Perl, so that may be an issue on Win32 systems, but that may also be the case with XS and SWIG, I just don't know.
To see how easy Inline is to use, you can check out my node The Ovidian Transform. I was fairly impressed how easy it was to come up with that code (note: that code was for playing around. A Guttman-Rossler Transform (sp?) or similar "all Perl" method would probably be a better choice).
In the meantime, you might want to check out the Inline mailing list. Many of the people there have used XS and SWIG, in addition to Inline, and would likely be able to answer some questions for you.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|