Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

SWIG introductory article at

by gjb (Vicar)
on Dec 14, 2005 at 09:26 UTC ( #516566=perlnews: print w/replies, xml ) Need Help??

Given a recent thread about integrating existing C/C++ code into Perl, an article on SWIG over at may be of interest.

Hope this helps, -gjb-

Update: this article was announced today via's mailing list I subscribed to.

  • Comment on SWIG introductory article at

Replies are listed 'Best First'.
Re: SWIG introductory article at
by rinceWind (Monsignor) on Dec 14, 2005 at 12:34 UTC

    How old is that article, I wonder? Personally, I wouldn't recommend anyone to go near nsPerl 5.005_03 with a barge pole! ActiveState Perl isn't even mentioned.

    Can anyone give me the pros and cons of using SWIG over XS or Inline::C, given that I'm not interested in writing a generic wrapper for Python, tcl, etc.


    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://516566]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2019-11-19 00:11 GMT
Find Nodes?
    Voting Booth?
    Strict and warnings: which comes first?

    Results (93 votes). Check out past polls.