View Single Post
Old 07-02-2002, 10:51 PM  
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
Quote:
Originally posted by mike503
php can be faster than perl (for web stuff probably a lot easier..)

but on the flipside perl can be faster than php.

depends on how both scripts are written, if things like mod_perl/fcgi are installed, etc.

when it comes down to it, on a basic system install, php will run faster in my opinion since out of the box it requires less effort to write efficient code. with perl you have to code "strict" and to get the same kind of performance gains, you have to run it through mod_perl and/or fastcgi.

perl was made for text processing (well and newsgroup fetching) - php was made for the web. trials on the web give php an advantage already obviously..
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote