[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Interfacing XS/C++ code with MacPerl



At 19.44 -0400 1998.08.06, Sixten F. K. Otto 98 wrote:
>I have looked over all the MacPerl pages I could find, have scanned the Perl
>man pages, and read the chapter from MP:P&E on building MacPerl and extensions
>(which example was awfully simplistic). I've also scanned some of the less
>platform-independent information. But I still cannot find much in the way of
>lucid and introductory-level information about how to go about the process of
>interfacing MacPerl and any C/C++ code that I might write.

Well, combined with the chapter in MPPE, there is not much difference in
how it is done on Unix and Mac OS, so it was not really necessary to
include extra information in the book.  Advanced Perl Programming has some
info, there is an occasional article in The Perl Journal, and the standard
PODs perlxs and perlxstut come with all versions of perl.


>So, in short, is this an appropriate forum to begin asking some of the
>questions I have? Or should I attempt to find answers in the newsgroups?

This forum is OK, but a new one that is being created (mac-perl-porters)
will be even better.  :-)  Watch for details soon.


>For that matter, is it even possible for C/C++ code to maintain its own data
>structures (create and destroy dynamic memory constructs outside of the Perl
>environment)?

I readily confess I don't know a lot about XS (though I will be learning a
lot more soon, so we can do some learning together on mac-perl-porters
soon, I hope).  This WOULD be a very good question for
comp.lang.perl.moderated, if you've already looked in the aforementioned
perlxs and perlxstut and could not find it there.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch