Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2017-07-21 07:10 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (319 votes). Check out past polls.