This might have been beaten to death today, but I'd like to add my $0.02:

1. You Linux guru says "C would be faster than Perl"? Prove it. Are there
any specific benchmarks? Probably not. Remember, assembly language is faster
than C!

2. Just this morning I wrote a 3 line Perl fragment to run a program and
filter the output. It took me a few minutes. If I had written it in C, it
would have taken dozens of lines of code, plus made me responsible for the
system call, I/O redirection, file I/O, memory management and pattern
matching. Not to mention an hour or more to get it working.

3. If you really want Perl binaries, see if
http://www.indigostar.com/perl2exe.htm is of any help.

-----Original Message-----
From: Agustin Rivera [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 02 January, 2002 12:10
To: [EMAIL PROTECTED]
Subject: C vs. Perl


Ok, the local Linux guru has proclaimed that C would be faster than Perl.  I
know C is very effecient so I don't really doubt him, but my question is....
would it make that much of a difference?  I certainly wouldn't mind learning
C, the only question is would be worth the time to port our Perl scripts
over to it?  Right now our setup is Apache w/modperl, and I'm getting quite
good at taking advantage of modperl's benefits.

Hope everyone had a safe New Year,
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com





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

Reply via email to