Thread: Coders needed
View Single Post
Old 12-15-2004, 05:31 PM  
richard
Confirmed User
 
Join Date: Feb 2001
Location: UK
Posts: 543
Quote:
Originally posted by AndrewKanuck
Fastest is still CGI with C - PHP has come a long way, but still needs work. Perl is great too - but still not as fast as CGI.
LOL.

Whatever you do, don't ask this guy to actually write any code for you.

Short of writing your own server, the fastest would theoretically be an apache module coded in C.

After that, the question isn't about which language you're writing in, it's about the configuration of the server.

Both Perl and PHP are interpreted, so they must be compiled on-the-fly. The main difference is that PHP is normally installed as an apache module, which means apache compiles the code itself, compared with having to execute "Perl.exe" for perl code.

You can invert that, and have PHP running via the CGI as an external executable, and Perl compiled into apache (mod_perl).

Then you've got things like fastCGI, Zend performance suite, etc etc etc.

That's without taking into consideration the programmer's skill.


__________________
richard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote