Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
[zentara]: See problems with Nvidia and Linus Torvalds
[choroba]: that's 2012
[zentara]: I just acquired a computer with the card type, and wondered if it was best to stick with the open-source code or use NVIDIA's proprietary code
[zentara]: do you feel good about a non-open-source code, being in control of your display functions?
[choroba]: If you're not going to play 3d games on it, using the open source driver should be enough

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2017-05-26 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?