>>>>> "km" == km  <[EMAIL PROTECTED]> writes:

km> how fast are the perl executables when compared with perl scripts  and
km> also when compared with C executable  on linux ?

meta-response to all responders on this thread - See, this is exactly
why we should *NOT* answer the original question until we determine
*why* the question is asked.

reponse to question:  The FAQ states, and I repeat, that "compiling"
a Perl program into a C binary does nothing to speed up the execution
of a Perl program, because a Perl program is already compiled *every time*
before it is run.  All you end up doing by creating a C binary
from Perl is (a) reducing portability and (b) saving the miniscule
time it takes to compile, and probably (c) increasing the amount
of disk storage *and startup time* for small scripts.

In other words, *don't*.  *Don't* use any of the suggested methods
to "compile" your script.

If you are interested in a portable bundling system to allow
your program to be distributed and installed on similar architectures
but without installing all of Perl, look at PAR in the CPAN.

Dare I repeat... *don't* use perlcc.  *Don't* use perl2exe.  *Don't*
do this for "speed".

(Other responders, please note this answer... I'm tired of repeating it. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to