Quote:
Originally posted by apscripts
I realize that this post is kind of old...but...to clear this up for anyone who cares:
A perl cgi is executed and interpreted with every request...slow.
A perl script executed over mod_perl...Fast.
A c cgi is executed with every request...slow as shit!
A c application running as a server or process...Fast as shit.
A php script executed on a server with php installed as a CGI, executed with every request. Slow as god aweful shit.
A php script on a server with php installed as an apache module is parsed by an already running process. Much faster than c as a CGI...almost comparable to a c process (because the php module is a process).
An apache module written properly in (any real language)...Faster than all of the above.
Don't get suckered into buying something "c"
Anyone that makes a statement like "php is slow" is an idiot, or is just trying to sell you something "php is slow" is too general of a statement to be made by someone who knows anything. Someone who says that could know a lot...but they're trying to sell something
|

not to mention that getting a custom php app is a lot cheaper than getting the exact same app written in c