Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: XS or SWIG

by PodMaster (Abbot)
on Feb 03, 2003 at 19:20 UTC ( [id://232366]=note: print w/replies, xml ) Need Help??


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 --

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://232366]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found