There is nothing about using a C++ compiler that makes your code less efficient. The primary determinant is still overwhelmingly the programmer. C++ has *never* gotten in my way when writing extremely efficient programs, and in fact I find it a great help.

The flip side is I've seen a lot of hideously inefficient "C" code. You can write inefficient code in any language.

Keep in mind that PHP is a (usually) compile-at-runtime, interpreted language :).

John Coggeshall wrote:

Well, Personally I don't have any problem with introducing C++ into PHP
so no argument there from me. I'm curious if using C++ as opposed to C
would cause a performace hit?

--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to