In addition to all of the above, there are several ways (XS, Inline::C, swig) to enable Perl code to call, e.g., compiled C code. A common technique is to structure the program so that the computationally demanding parts can be written in C (for example); the entire program then consists of a Perl "wrapper"1 and one or more native subroutines to take care of the heavy lifting. A lot of modules in CPAN use this approach.
1The term "wrapper" here is a bit misleading, because this Perl code often does substantive work other than just calling the native subroutines.
the lowliest monk
In reply to Re: Perl: friend or foe ?
by tlm
in thread Perl: friend or foe ?
by MonkPaul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |