Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-29 Thread J Smith
The only modified file is ext_skel. There's also the addition of a file in ext/skeleton -- skeleton.cpp to go along with skeleton.c. I suppose I could get rid of the .cpp file, make a few changes to skeleton.c and have ext_skel make the proper modifications when it's replacing extname, EXTNAME

[PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
A couple of times a month, I get questions about from people looking to use C++ with PHP. Apparently, a lot of people end up reading some post I made to php.dev or something a year or so ago about C++, and although it worked at the time, the procedure I describe has become stale. I messed

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread John Coggeshall
, November 28, 2002 5:25 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] C++ extensions and ext_skel A couple of times a month, I get questions about from people looking to use C++ with PHP. Apparently, a lot of people end up reading some post I C++ made to php.dev or something a year or so ago about C

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Shane Caraveo
I think that would be quite cool, save me from having to do it manualy. Shane J Smith wrote: A couple of times a month, I get questions about from people looking to use C++ with PHP. Apparently, a lot of people end up reading some post I made to php.dev or something a year or so ago about C++,

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread J Smith
The door has always been open, as it has always been possible. For instance, the qtdom extension has some C++ components, as does the dotnet extension. This just sort of facilitates the, uh, moving through said door. If you're using ANSI/ISO-compliant (or mostly compliant) C and C++

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread George Schlossnagle
I concur, that would be cool. Patches should be against HEAD. George On Thursday, November 28, 2002, at 05:33 PM, Shane Caraveo wrote: I think that would be quite cool, save me from having to do it manualy. Shane J Smith wrote: A couple of times a month, I get questions about from people

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread John Coggeshall
To: [EMAIL PROTECTED] Subject: RE: [PHP-DEV] C++ extensions and ext_skel The door has always been open, as it has always been possible. For instance, the qtdom extension has some C++ components, as does the dotnet extension. This just sort of facilitates the, uh, moving through said door

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Sascha Schumann
On Thu, 28 Nov 2002, J Smith wrote: A couple of times a month, I get questions about from people looking to use C++ with PHP. Apparently, a lot of people end up reading some post I made to php.dev or something a year or so ago about C++, and although it worked at the time, the procedure I

RE: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Sascha Schumann
AFAIK, PHP is designed to function on any standard ANSI-compatible C compiler (as a goal). Unless this has changed, I don't know if opening the door for C++ development is the best of ideas (IMHO) That just means that the core and standard extensions need to be written in ISO C and

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Preston L. Bannister
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

Re: [PHP-DEV] C++ extensions and ext_skel

2002-11-28 Thread Markus Fischer
On Thu, Nov 28, 2002 at 06:41:09PM -0500, 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? It's not about performance but about an PHP