in reply to Re: Re: XS or SWIG
in thread XS or SWIG

Read perlxs, especially the "Using XS With C++" part.

The problem is getting MakeMaker to setup the compiler to compile the xs generated code as c++ code.

I asked about it @ How do I force a .cpp extension for my xs generated files?
Re: How do I force a .cpp extension for my xs generated files?

For an example, see http://wxperl.sf.net, a perl port of http://wxwindows.org "An open source C++ GUI framework to make cross-platform programming child's play. Well, almost."


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
** The Third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Re: Re: XS or SWIG
by Sihal (Pilgrim) on Feb 03, 2003 at 19:51 UTC
    Thanxs for the links.
    I looked into Inline::C quickly: seems cool but not easy to use with a complete API. SWIG however seems much more straightforward (for somebody that only codes occasionnaly in C) than XS, albeit maybe less powerful.

    --IN doubt, reboot --