Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://516566]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2023-12-11 21:42 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (41 votes). Check out past polls.