From: Michael Farr Date: April 29 1999 2:55pm Subject: Re: Need an opinion - C vs PHP List-Archive: http://lists.mysql.com/mysql/2627 Message-Id: <199904291456.AAA27649@lion.cs.latrobe.edu.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 10:26 AM 4/29/99 -0400, you wrote: >Michael Farr wrote: >> It is quite simple to generate your own GIF image's dynamically (with PHP), > >You can do this in C with the gd library from Thomas Boutell. > > http://www.boutell.com/gd/ > > >> C is good ... but not for web pages. > >Why not? I am truely interested in your opinion in this. I've heard >other people say the same thing, but so far it's been mostly a lack of >experience in C and greater experience in some other language. I don't >do much in Perl, but that's not because Perl is not a good language, >it's because I'm not as experienced with it. > >I have been using it for web apps for 4 1/2 years. Certainly writing >everything from scratch in C would be a pain in the rear, but that's >what libraries are for. Don't get me wrong, C is good, but the power of C is really used when all you ever want to generate is stdout text. If I needed to do some real tough processing, then I'd use C, or C++. Mostly scripting doesnt need much more than a print statements, PHP is more direct at this. For example In php you can say echo ""; in C you would say printf("