![]() |
Coders needed
Hi
I would like to know what languages do you use to compile stuff for Linux/Apache In other words, in your HUMBLE opinion :1orglaugh what's the best ? :drinkup |
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.
|
Others ?
|
Quote:
|
C is by far the fastest.... with PHP the slowest... perl is in the middle, but much faster then PHP.
|
Quote:
|
Quote:
|
Quote:
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. :2 cents: |
Nice output !
More ? |
I've written and reviewed millions of lines of code over the years in a dozen different languages on a half-dozen platforms, and I agree with richard 100%.
Quote:
|
PHP maybe has the smoothest learning curve, Perl follows.
But, learning programming is not learning the programming language, its far more and more important than the language itself. |
I assume you mean "write" stuff instead of "compile". If you're going to compile something into an executable you're talking about C.
If you're looking to write some sort of application for the web you're most likely talking about PERL as your best choice. It just works well with *nix. PERL and PHP don't compile they're interpreted languages. I run a variety of PERL applications that work wonderfully. PERL is probably the most popular with people working with web servers and there are a ton of modules for just about every imaginable idea. You had best have total access to your servers if you're going to use PERL so that you can install any and all modules. If you're working through some paid hosting with limited access to your machines then consider PHP. Its much more portable on the whole. http://www.cpan.org |
| All times are GMT -7. The time now is 10:23 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123