Re: C++ extensions and ext_skel
| From: | Preston L. Bannister | Date: | Fri, 29 Nov 2002 04:51:10 +0000 |
| Subject: | Re: C++ extensions and ext_skel | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91907@lists.php.net to get a copy of this message | ||
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?