|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
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 ? ![]() |
|
|
|
|
|
#2 |
|
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.
__________________
|
|
|
|
|
|
#3 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,789
|
Others ?
|
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Confirmed User
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.
|
|
|
|
|
|
#6 | |
|
Confirmed User
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
|
Quote:
__________________
|
|
|
|
|
|
|
#7 | |
|
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Feb 2001
Location: UK
Posts: 543
|
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. ![]()
__________________
|
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,789
|
Nice output !
More ? |
|
|
|
|
|
#10 | |
|
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:
__________________
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 |
|
|
|
|
|
|
#11 |
|
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. |
|
|
|
|
|
#12 |
|
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 |
|
|
|