View Single Post
Old 07-02-2002, 10:41 PM  
mike503
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
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..
__________________
php/mysql guru. hosting, coding, all that jazz.
mike503 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote