Quote:
Originally posted by mike503
first part is exactly my point. depending on who codes what, either/or can be faster.
second off, maybe tgsw, adcycle and other things were coded in perl because that's what language the coder liked? they happened to know all the modules they'd need to make something happen? it was coded before PHP got popular.. and there's no reason to convert?
"php is simple to code" has nothing to do with why programs wouldn't be written using PHP. in fact, that's the opposite statement. you'll see more and more programs nowadays being coded in PHP since it's so easy. i'm not saying they'll be fast, scalable, easy to maintain, or clean.. but nonetheless they were created in PHP.
PHP may be "easy to code" but like any language it takes some skill to refine your coding techniques to make your programs/scripts scalable, modular, reusable, clean and efficient. just like perl. even C with all it's strict datatypes and such can lead to inefficient methods depending on the person doing the coding. it's a subjective test. there is no right answer.
|
Everything you say its true.
But we're not talking about how that script looks on the web
thats design part and it has nothing to do with the script itself.
I want to see someone that will write a good traffic script in php
no, that won't happen anytime soon, those will be written in perl
or C.
There are points where php can be faster than perl
but that has nothing to do with programming.
To compare the speed of two programming languages
you have to use them to do the same thing but with high values.
and in the same environment.