GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Coders needed (https://gfy.com/showthread.php?t=403388)

Fabien 12-15-2004 04:19 PM

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

AndrewKanuck 12-15-2004 04:20 PM

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.

Fabien 12-15-2004 04:59 PM

Others ?

Alky 12-15-2004 05:11 PM

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.
CGI isnt a language

Alky 12-15-2004 05:11 PM

C is by far the fastest.... with PHP the slowest... perl is in the middle, but much faster then PHP.

AndrewKanuck 12-15-2004 05:14 PM

Quote:

Originally posted by Alky
CGI isnt a language
Doing CGI's with C is what I said, and C is a language - learn english, or learn C - both are great languages.

Alky 12-15-2004 05:18 PM

Quote:

Originally posted by AndrewKanuck
Perl is great too - but still not as fast as CGI.
you sure you know what your talking about?

richard 12-15-2004 05:31 PM

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. :1orglaugh

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:

Fabien 12-15-2004 07:14 PM

Nice output !

More ?

iBOUNCER 12-15-2004 07:17 PM

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:

Originally posted by richard
LOL. :1orglaugh

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:


fischi 12-15-2004 07:20 PM

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.

beergood 12-15-2004 07:29 PM

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