[Buffalo-pm] Using a C API with Perl...

Jim Brandt cbrandt at buffalo.edu
Thu Apr 6 12:09:32 PDT 2006


Does this help?

http://search.cpan.org/~ingy/Inline-0.44/

If you want to run other code from Perl programs, Inline is the way to go.

APIs to what?



DANIEL MAGNUSZEWSKI wrote:
> Mongers,
> 
> There are API's, for C and Java, within the Mac OSX SDK. I want the
> ability to use the C API within Perl. I've come across perlxs
> (http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlxs.pod) but I'm not
> sure if there is a better/easier way of doing this. Would it be faster
> if I just wrote a program in C (using the API) that receives input from
> STDIN - from there I could just create a pipe to it within the Perl
> script? The data being sent through the system is very time sensitive,
> so I'd like to use the method that will create the lowest latency and
> load. 
> 
> Any thoughts/suggestions?
> 
> -Dan
> 
> _______________________________________________
> Buffalo-pm mailing list
> Buffalo-pm at pm.org
> http://mail.pm.org/mailman/listinfo/buffalo-pm

-- 
Jim Brandt
Administrative Computing Services
University at Buffalo



More information about the Buffalo-pm mailing list