Re: [DISCUSSION] C++ Enhancements in Zend API

From: Date: Mon, 12 Aug 2024 19:36:45 +0000
Subject: Re: [DISCUSSION] C++ Enhancements in Zend API
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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's a waste of time and energy. The
entire industry is actively trying to to move AWAY from C/C++ in general, not to mention someone has
to maintain it after you get bored insulting people here and move on. This is doubly true when the
benefit is a handful of people who want to might write some extension in C++.
On Aug 12 2024, at 2:59 pm, Lanre <[email protected]> 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 mention a move to C++; perhaps reading
> comprehension isn’t your strong suit.
>
> PHP already supports C++ for extensions, as evidenced by the intl extension. The current
> support is painfully basic, which forces developers to waste time on redundant wrappers or use
> third-party libraries like PHP-CPP. What I’m proposing is a way to improve this support so C++
> devs don’t have to keep doing the same menial work over and over again.
> All of this will be wrapped in macros, so C compilers won’t even notice the compatibility
> layer and will compile as usual. It’s a simple, elegant solution—something you might not be
> familiar with, given your affinity for Rust’s convoluted approach to everything.
>
> Cheers,
> Lanre.
>
>



Thread (40 messages)

« previous php.internals (#124904) next »