http://qs321.pair.com?node_id=853253


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.