zork42 has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I hope these aren't dumb questions:
(*) it's twice as long as the distance from the middle to an end ;-)
UPDATE: I forgot to say I'm running ActivePerl on Windows
I hope these aren't dumb questions:
- Is there a quick & easy way to check if a module is pure-Perl, or is Perl+binary for both CPAN and core modules?
- Do Perl+binary modules always use XS or are there other methods?
- I need to code a function in C for the speed, is it possible to somehow include the C source in the perl source and get the C compiled? Or do I have to use XS and xsubpp?
- I realise this is a bit like asking how long a piece of string is (*), but roughly how much faster will a C version of a perl sub be?
(*) it's twice as long as the distance from the middle to an end ;-)
UPDATE: I forgot to say I'm running ActivePerl on Windows
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl + binary
by sundialsvc4 (Abbot) on Oct 30, 2013 at 19:05 UTC | |
Re: Perl + binary
by Anonymous Monk on Oct 30, 2013 at 18:42 UTC | |
by zork42 (Monk) on Oct 30, 2013 at 18:45 UTC | |
by Corion (Patriarch) on Oct 30, 2013 at 19:34 UTC | |
Re: Perl + binary
by Generoso (Prior) on Oct 30, 2013 at 22:06 UTC | |
by Anonymous Monk on Oct 30, 2013 at 22:31 UTC | |
Re: Perl + binary
by zork42 (Monk) on Oct 31, 2013 at 03:08 UTC | |
by bulk88 (Priest) on Nov 01, 2013 at 00:36 UTC | |
by zork42 (Monk) on Nov 01, 2013 at 17:43 UTC | |
by bulk88 (Priest) on Nov 05, 2013 at 02:20 UTC |
Back to
Seekers of Perl Wisdom