Re: php speed compared to C++ cgi



On 29 Jun, 09:49, Andrew Hutchings <i...@xxxxxxxxxxxx> wrote:
Paul.Lee.1971 wrote:
Hi,
I'm designing an application that will allow users to interrogate a
Mysql database, using some form of regex. The database will be fairly
big, and I'm wondering whether using pre-compiled C++ cgi or php will
be faster?

Pre-compiled C++ will be a lot faster, especially if there is
post-processing involved and pre-compiled PHP, and much much faster than
un-compiled PHP. But in general it will be much quicker to code in PHP.

--
Andrew Hutchings - LinuxJedi -http://www.linuxjedi.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen. Blue
Screen leads to downtime. Downtime leads to suffering...I sense much
Windows in you...

Thanks everyone, I really appreciate your advice. It looks like C++
will be faster, but looking at the simply examples (on Informit.com)
it seems to add unnecessary complexity. Anyway, thanks again

Paul
--
http://www.paullee.com

.



Relevant Pages

  • Re: php speed compared to C++ cgi
    ... Mysql database, ... post-processing involved and pre-compiled PHP, and much much faster than un-compiled PHP. ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much Windows in you... ...
    (comp.lang.php)
  • RE: [PHP] Re: php security books
    ... user 'apache' and allow php to be run as/by 'apache' than this would provide ... complete access to anything php needs to do as 'apache'. ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much Windows ...
    (php.general)
  • Re: "call to undefined function" mysql_error when adding new rows to table
    ... I have recently set up a mysql database of local pubs, ... when I try to add a new pub I get an error message "call to undefined ... Shouldn't be any PHP problem. ...
    (comp.lang.php)
  • Re: breaking into J2EE: steep curve or wrong approach?
    ... > a MySQL database. ... > I'd like to recode the PHP functionality as either servlets or JSPs. ... You need to understand servlets. ...
    (comp.lang.java.programmer)
  • Re: Executing PHP files on remote web server
    ... Is it possible to move a few of the PHP pages -- the ... from the session variables on our web server, but I'm a C and Java ... You should have the same security concern for your own MySQL database. ... users with IP addresses on our network, ...
    (comp.lang.php)