Coders needed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fabien
    Confirmed User
    • Jul 2003
    • 4789

    #1

    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 ?
  • AndrewKanuck
    Confirmed User
    • Jan 2004
    • 6706

    #2
    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.

    Comment

    • Fabien
      Confirmed User
      • Jul 2003
      • 4789

      #3
      Others ?

      Comment

      • Alky
        Confirmed User
        • Apr 2002
        • 5651

        #4
        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

        Comment

        • Alky
          Confirmed User
          • Apr 2002
          • 5651

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

          Comment

          • AndrewKanuck
            Confirmed User
            • Jan 2004
            • 6706

            #6
            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.

            Comment

            • Alky
              Confirmed User
              • Apr 2002
              • 5651

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

              Comment

              • richard
                Confirmed User
                • Feb 2001
                • 543

                #8
                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.


                Comment

                • Fabien
                  Confirmed User
                  • Jul 2003
                  • 4789

                  #9
                  Nice output !

                  More ?

                  Comment

                  • iBOUNCER
                    Confirmed User
                    • Nov 2004
                    • 214

                    #10
                    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%.

                    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

                    Comment

                    • fischi
                      Confirmed User
                      • Nov 2004
                      • 252

                      #11
                      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.

                      Comment

                      • beergood
                        Confirmed User
                        • Jun 2003
                        • 2918

                        #12
                        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

                        Comment

                        Working...