View Single Post
Old 04-12-2003, 07:01 PM  
apscripts
Confirmed User
 
Join Date: Mar 2003
Location: Los Angeles, CA USA
Posts: 204
Quote:
Originally posted by Choker


Faster and open source? You have got to be joking dude. Php is slower than perl and C by a long shot.

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
__________________
icq5708193

aptgp III -- Build a Blog, an RSS feed, a text TGP, and a thumb TGP all from one installation. Own Comus or AutoGallery? Have APTGP III Installed free for 30 days; no obligations.
apscripts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote