Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.

by mojotoad (Monsignor)
on Aug 05, 2010 at 21:07 UTC ( #853253=note: print w/replies, xml ) Need Help??


in reply to Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.

Your tenacity is to be admired. Thanks for documenting your quest.

Recently I pointed out the perl-xs implementation of google protocol buffers to tye. I dumped my scratch pad into a post: Protocol Buffers and XS

Perhaps you'll be interested to see how that project autogenerates XS around C++.

Cheers,
Matt

  • Comment on Re: Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.

Replies are listed 'Best First'.
Re^2: Interfacing Perl with C++, using XS, with external files, and using the STL as parameters and return values.
by dextius (Monk) on Aug 06, 2010 at 13:46 UTC
    Hahah, you did that for tye, because I was in chatterbox bugging him, and you happened to be around. I lost your link during the chaos, damn. This would have been helpful. What I find interesting is you directly reference object files via the "OBJECT" attribute in your Makefile.PL. Where I used the "MYEXTLIB" directive. I am pretty sure I understand the difference. Also, XSOPT? I know it's a TMTOWTDI world, but you appear to be taking a totally different approach to get the same thing accomplished. Wow.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-10-01 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.