Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Lanre
On Thu, Aug 15, 2024 at 4:39 PM Derick Rethans wrote: > On 15 August 2024 18:42:58 BST, Lanre wrote: > >On Thu, Aug 15, 2024 at 11:33 AM Derick Rethans wrote: > > > >> On 15 August 2024 18:10:11 BST, Lanre wrote: > >> > >> >You're embarrassing yourself John, read my very first paragraph (you >

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Derick Rethans
On 15 August 2024 18:42:58 BST, Lanre wrote: >On Thu, Aug 15, 2024 at 11:33 AM Derick Rethans wrote: > >> On 15 August 2024 18:10:11 BST, Lanre wrote: >> >> >You're embarrassing yourself John, read my very first paragraph (you got >> this). >> >> We have said this before, but you *really* need t

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Lanre
John reached out to me directly, but i think he raised some valid points that I should address here, so here it is: On Thu, Aug 15, 2024 at 1:56 PM John Coggeshall wrote: > Lanre, > > I think you're expectations are probably unrealistic if you expected to > drop a PR in a week to add C++ suppor

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Lanre
On Thu, Aug 15, 2024 at 11:53 AM Bilge wrote: > > > On Thu, 15 Aug 2024, 18:50 Lanre, wrote: > >> >> Why am I the only person being reminded of the rules? >> > > Maybe because during the aggregate time you've spent slandering your > fellow man, you could have written that RFC you claim to not h

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Bilge
On Thu, 15 Aug 2024, 18:50 Lanre, wrote: > > Why am I the only person being reminded of the rules? > Maybe because during the aggregate time you've spent slandering your fellow man, you could have written that RFC you claim to not have had the time to write.

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Lanre
On Thu, Aug 15, 2024 at 11:42 AM Lanre wrote: > > > On Thu, Aug 15, 2024 at 11:33 AM Derick Rethans wrote: > >> On 15 August 2024 18:10:11 BST, Lanre wrote: >> >> >You're embarrassing yourself John, read my very first paragraph (you got >> this). >> >> We have said this before, but you *really*

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Lanre
On Thu, Aug 15, 2024 at 11:33 AM Derick Rethans wrote: > On 15 August 2024 18:10:11 BST, Lanre wrote: > > >You're embarrassing yourself John, read my very first paragraph (you got > this). > > We have said this before, but you *really* need to stop using > condescending language, and ad-hominems

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Derick Rethans
On 15 August 2024 18:10:11 BST, Lanre wrote: >You're embarrassing yourself John, read my very first paragraph (you got >this). We have said this before, but you *really* need to stop using condescending language, and ad-hominems like this. cheers Derick

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread Lanre
On Thu, Aug 15, 2024 at 8:51 AM John Coggeshall wrote: > > > On Aug 14 2024, at 5:27 pm, Lanre wrote: > > > Can you point out where either of us suggested writing PHP in another > language? You might be mixing this up with the C11 thread, which has > nothing to do with this. All I'm proposing i

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-15 Thread John Coggeshall
On Aug 14 2024, at 5:27 pm, Lanre wrote: > > Can you point out where either of us suggested writing PHP in another > language? You might be mixing this up with the C11 thread, which has nothing > to do with this. All I'm proposing is improving the current C++ support in > the engine. > https

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Pierre Joye
On Thu, Aug 15, 2024, 6:35 AM Lanre wrote: > Arvids wrote "I don't think C sees a lot of development any more, so it >> makes sense to move towards C++." > > > >> > Nah, I meant the specific conversation with Pierre Joye, it wasn't going > anywhere. I stand by all my points so why would I just le

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Lanre
> > Arvids wrote "I don't think C sees a lot of development any more, so it > makes sense to move towards C++." Yeah he wrote that right after "PHP has C as core and has allowed C++ for extensions. Expanding that support is a no-brainer, especially since modern C++ has stepped up in major ways".

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Mike Schinkel
> On Aug 14, 2024, at 5:27 PM, Lanre wrote: > >> On Wed, Aug 14, 2024 at 2:32 PM Mike Schinkel wrote: >> > On Aug 14, 2024, at 3:05 PM, Arvids Godjuks >> > wrote: >> > PHP has C as core and has allowed C++ for extensions. Expanding that >> > support is a no-brainer, especially since modern C+

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Lanre
On Wed, Aug 14, 2024 at 2:32 PM Mike Schinkel wrote: > > On Aug 14, 2024, at 3:05 PM, Arvids Godjuks > wrote: > > > > I want to remind everyone on the thread that code does not only have to > be written, which is the "easy part", but it also has to be supported by > everyone into the future and

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Mike Schinkel
> On Aug 14, 2024, at 3:05 PM, Arvids Godjuks wrote: > > I want to remind everyone on the thread that code does not only have to be > written, which is the "easy part", but it also has to be supported by > everyone into the future and chances that the original author sticks around > are not th

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Arvids Godjuks
I want to remind everyone on the thread that code does not only have to be written, which is the "easy part", but it also has to be supported by everyone into the future and chances that the original author sticks around are not that high to do it. The Rust thing is shitposting for the sake of shi

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Lanre
On Wed, Aug 14, 2024 at 4:30 AM Pascal Chevrel wrote: > Le 14/08/2024 à 05:03, Lanre a écrit : > > > > Mozilla introduced Rust years ago, yet Firefox remains primarily C++, > > with only about 3% of the codebase in Rust. > > Hi, > > 10.3% now https://openhub.net/p/firefox/analyses/latest/language

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Rowan Tommins [IMSoP]
On 11 August 2024 23:52:00 BST, Lanre wrote: >I’m considering adding some C++ enhancements to the Zend API. These changes >would be encapsulated within `#ifdef __cplusplus` guards, so they wouldn’t >interfere with the existing C implementation. The primary goal is to >provide a nicer interface

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Lanre
On Wed, Aug 14, 2024 at 3:54 AM Pierre Joye wrote: > > > On Wed, Aug 14, 2024, 11:07 AM Lanre wrote: > >> >> On Tue, Aug 13, 2024 at 4:28 PM Mike Schinkel >> wrote: >> >>> >>> On Aug 12, 2024 at 4:13 PM, > wrote: >>> You’d have to be seriously naive to believe that “the entire industry is >>> a

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Pierre Joye
On Wed, Aug 14, 2024, 11:07 AM Lanre wrote: > > On Tue, Aug 13, 2024 at 4:28 PM Mike Schinkel wrote: > >> >> On Aug 12, 2024 at 4:13 PM, > wrote: >> You’d have to be seriously naive to believe that “the entire industry is >> actively trying to move AWAY from C/C++.” >> >> >> Well, there is this:

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-14 Thread Morgan
On 2024-08-14 16:03, Lanre wrote: On Tue, Aug 13, 2024 at 4:28 PM Mike Schinkel Well, there is this: https://media.defense.gov/2023/Dec/06/2003352724/-1/-1/0/THE-CASE-FOR-MEMORY-SAFE-ROADMAPS-TLP-CLEAR.PDF

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-13 Thread Lanre
On Tue, Aug 13, 2024 at 4:28 PM Mike Schinkel wrote: > > On Aug 12, 2024 at 4:13 PM, > wrote: > You’d have to be seriously naive to believe that “the entire industry is > actively trying to move AWAY from C/C++.” > > > Well, there is this: > > > https://media.defense.gov/2023/Dec/06/2003352724/-1

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-13 Thread Mike Schinkel
> > On Aug 12, 2024 at 4:13 PM, mailto:lnearw...@gmail.com)> wrote: > > > You’d have to be seriously naive to believe that “the entire industry is > actively trying to move AWAY from C/C++.” > > Well, there is this: https://media.defense

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Pierre Joye
On Tue, Aug 13, 2024, 3:16 AM Lanre wrote: I'm sure the idea of enhancing C++ makes no sense to you, and would be a > waste of your time and energy, but not everyone is that stupid/incompetent > so even if i do get bored of maintaining it, literally any C++ dev can pick > it up, it really is that

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread John Coggeshall
Friend, honest to god you are really not doing yourself any favors here. You came on this list with a proposal. I think it's a bad idea, and I've enumerated the reasons why I have come to that conclusion: If it's so easy and transparent to improve support for C++, it could easily exist outside o

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Ilija Tovilo
On Mon, Aug 12, 2024 at 9:00 PM Lanre wrote: > > I didn’t realize this was an open mic for Rust devs to flaunt their > ignorance, but since you’ve decided to chime in, let me spell it out for you. > Rust has absolutely nothing to do with this discussion, so try to stay on > topic. Nowhere did I

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Lanre
On Mon, Aug 12, 2024 at 1:36 PM John Coggeshall wrote: > lol. Listen friend, I've been involved in PHP internals on and off for > over 20 years -- and so has Pierre. You'd do well to respond with a little > more consideration instead of flying off the handle calling us ignorant > rust developers

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread John Coggeshall
lol. Listen friend, I've been involved in PHP internals on and off for over 20 years -- and so has Pierre. You'd do well to respond with a little more consideration instead of flying off the handle calling us ignorant rust developers lol. The idea of enhancing support for C++ makes no sense. It

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Lanre
On Mon, Aug 12, 2024 at 12:33 PM John Coggeshall wrote: > > > On Aug 12 2024, at 12:27 pm, Lanre wrote: > > > > On Mon, Aug 12, 2024 at 9:58 AM John Coggeshall > wrote: > > > > I’m considering adding some C++ enhancements to the Zend API. > > > I would definitely like to see an RFC for this if

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread John Coggeshall
On Aug 12 2024, at 12:27 pm, Lanre wrote: > > > On Mon, Aug 12, 2024 at 9:58 AM John Coggeshall (mailto:j...@coggeshall.org)> wrote: > > > > > > I’m considering adding some C++ enhancements to the Zend API. > > I would definitely like to see an RFC for this if it was to be considered. > > To m

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Lanre
On Mon, Aug 12, 2024 at 10:19 AM Lanre wrote: > > > On Mon, Aug 12, 2024 at 9:49 AM Levi Morrison > wrote: > >> On Sun, Aug 11, 2024 at 4:54 PM Lanre wrote: >> > >> > Hello, >> > >> > I’m considering adding some C++ enhancements to the Zend API. These >> changes would be encapsulated within `#i

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Lanre
On Mon, Aug 12, 2024 at 11:29 AM Pierre Joye wrote: > > Adding thin layers to support external deps using c++ is a necessity and > it is self contained without any other impact, and straightforward. > > It appears we are on the same page unless you are misunderstanding my proposal. I'm not adding

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Lanre
On Mon, Aug 12, 2024 at 10:50 AM Pierre Joye wrote: > > > On Mon, Aug 12, 2024, 11:03 PM John Coggeshall > wrote: > >> >> > I’m considering adding some C++ enhancements to the Zend API. >> >> >> I would definitely like to see an RFC for this if it was to be >> considered. To me, adding a whole n

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Pierre Joye
On Mon, Aug 12, 2024, 11:03 PM John Coggeshall wrote: > > > I’m considering adding some C++ enhancements to the Zend API. > > > I would definitely like to see an RFC for this if it was to be considered. > To me, adding a whole new way of doing things internally without completely > removing the o

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Lanre
On Mon, Aug 12, 2024 at 9:58 AM John Coggeshall wrote: > > > I’m considering adding some C++ enhancements to the Zend API. > > > I would definitely like to see an RFC for this if it was to be considered. > To me, adding a whole new way of doing things internally without completely > removing the

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Lanre
On Mon, Aug 12, 2024 at 9:49 AM Levi Morrison wrote: > On Sun, Aug 11, 2024 at 4:54 PM Lanre wrote: > > > > Hello, > > > > I’m considering adding some C++ enhancements to the Zend API. These > changes would be encapsulated within `#ifdef __cplusplus` guards, so they > wouldn’t interfere with the

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread John Coggeshall
> > I’m considering adding some C++ enhancements to the Zend API. I would definitely like to see an RFC for this if it was to be considered. To me, adding a whole new way of doing things internally without completely removing the old way is just asking for a more brittle, potentially less secur

Re: [PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-12 Thread Levi Morrison
On Sun, Aug 11, 2024 at 4:54 PM Lanre wrote: > > Hello, > > I’m considering adding some C++ enhancements to the Zend API. These changes > would be encapsulated within `#ifdef __cplusplus` guards, so they wouldn’t > interfere with the existing C implementation. The primary goal is to provide > a

[PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-11 Thread Lanre
Hello, I’m considering adding some C++ enhancements to the Zend API. These changes would be encapsulated within `#ifdef __cplusplus` guards, so they wouldn’t interfere with the existing C implementation. The primary goal is to provide a nicer interface for extensions while maintaining compatibilit

[PHP-DEV] [DISCUSSION] C++ Enhancements in Zend API

2024-08-11 Thread Lanre
Hello, I’m considering adding some C++ enhancements to the Zend API. These changes would be encapsulated within `#ifdef __cplusplus` guards, so they wouldn’t interfere with the existing C implementation. The primary goal is to provide a nicer interface for extensions while maintaining compatibilit