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..
|
Also in my opinion php is much more modular which is also a big plus