Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-15-2004, 04:19 PM   #1
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,789
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 what's the best ?
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 04:20 PM   #2
AndrewKanuck
Confirmed User
 
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
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.
__________________
AndrewKanuck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 04:59 PM   #3
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,789
Others ?
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 05:11 PM   #4
Alky
Confirmed User
 
Alky's Avatar
 
Join Date: Apr 2002
Location: Houston
Posts: 5,651
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 05:11 PM   #5
Alky
Confirmed User
 
Alky's Avatar
 
Join Date: Apr 2002
Location: Houston
Posts: 5,651
C is by far the fastest.... with PHP the slowest... perl is in the middle, but much faster then PHP.
Alky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 05:14 PM   #6
AndrewKanuck
Confirmed User
 
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
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.
__________________
AndrewKanuck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 05:18 PM   #7
Alky
Confirmed User
 
Alky's Avatar
 
Join Date: Apr 2002
Location: Houston
Posts: 5,651
Quote:
Originally posted by AndrewKanuck
Perl is great too - but still not as fast as CGI.
you sure you know what your talking about?
Alky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 05:31 PM   #8
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
Old 12-15-2004, 07:14 PM   #9
Fabien
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 4,789
Nice output !

More ?
Fabien is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 07:17 PM   #10
iBOUNCER
Confirmed User
 
Join Date: Nov 2004
Location: Monster Rain
Posts: 214
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.

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.


__________________
Secure PHP Programming - Secure E-Commerce Design
Site & Server Security Reviews - Code Reviews

The new and improved iBOUNCER. Give us a try.

ICQ: 201971159 or http://www.iBOUNCER.com
iBOUNCER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 07:20 PM   #11
fischi
Confirmed User
 
Join Date: Nov 2004
Location: Teutonia
Posts: 252
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.
fischi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-15-2004, 07:29 PM   #12
beergood
Confirmed User
 
Join Date: Jun 2003
Location: United States
Posts: 2,918
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
__________________
icq: 320340263
beergood is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.