Re: Why php and not C?

From: Bob (clarke_at_qualitythink.com)
Date: 01/26/04


Date: 26 Jan 2004 05:53:29 -0800

Enough said.
Thanks for the replies.

The right sized tool for the job at hand.

I was just wondering if in all the years I missed something.
Sometimes the simplest answer is the right one.

asomya@uncc.edu (Mad Max) wrote in message news:<18906fa9.0401251042.3497a874@posting.google.com>...
> You have to admit that PHP is really a whole damn lot easier and
> "tweakeable" than C but for mission critical systems where speed is of
> the essence the service providers still rely on a compiled CGI script
> written in C rather than interpreted languages like PHP etc..
>
> You can say that C certainly beats interpreters in speed.. but have
> you ever really tried writing a CGi app in C, it really is
> overkill.... add to it the fact that the script has to be compiled
> every time u make minor changes, variables have to be carefully
> defined, memory has to be taken care of ... and so on...
>
> bye
> Arvind
>
> clarke@qualitythink.com (Bob) wrote in message news:<cfa521f2.0401250455.70fc87ab@posting.google.com>...
> > When I first started in web programming (I left it for more than a few
> > years) I programmed my web pages in C and a little perl. Now that I
> > have a need to come back to web programming I find that php is all the
> > rage.
> >
> > But looking a php syntax I can't help but notice it is very C like,
> > which is no surprise.
> >
> > But I wonder, other than the lack of pointers in php (not a bad thing
> > I admit!) and the ease in which php does variables, litte to no
> > typing, why does it seem that no one is programming the web in C?
> >
> > C it would seem had the advantage of an established language, a very
> > native language for the servers and it compiles down to executable.
> >
> > Why did php gain a foothold and take off?



Relevant Pages

  • Re: Websites 101
    ... Some things have changed in PHP already thoug. ... but people who understand very little about programming ... The more similar a language is to an other, ... PHP borrows a lot from Perl, ...
    (alt.internet.search-engines)
  • Re: Any PHP Anti-Spam cron scripts available?
    ... is between language lawyers, and has little to do with actual ... programming, and I've published on programming topics since my article ... lawyers" who wish to exclude uses of the PHP language. ...
    (comp.lang.php)
  • Re: Which is easier to learn CGI or PHP?
    ... >>was wondering which is easier to learn php or cgi. ... Same holds for PHP. ... That holds for any programming language. ...
    (comp.lang.php)
  • Re: Is PHP the right language for this application (described below)? If not, any suggestions?
    ... which language should this application be written in (PHP, SQL, JS, ... PHP will work fine, so will Java, Perl and several other languages. ... Impossible to give a price without a lot more details. ... I don't even give a fixed price for programming until the screen designs are completed, data requirements nailed down, program flow defined... ...
    (comp.lang.php)
  • Re: What can Ruby do that PHP can not?
    ... and it really answered the fundamental question I posed -- What can Ruby do that PHP can not? ... Just a general point about selecting the language. ... regards trookat. ... Personally I feel every person that wants to learn programming should learn C then learn to code the ASM equiv so they can grasp what is going on when they write something. ...
    (comp.lang.php)