Re: [DISCUSSION] C++ Enhancements in Zend API
| From: | Lanre | Date: | Mon, 12 Aug 2024 17:48:52 +0000 |
| Subject: | Re: [DISCUSSION] C++ Enhancements in Zend API | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124900@lists.php.net to get a copy of this message | ||
On Mon, Aug 12, 2024 at 11:29 AM Pierre Joye <pierre.php@gmail.com> 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 C++ to the engine, it's already there, I just want
to improve the support for c++ without any impact on the current C api. As
it stands now, you can't even have a std::vector<zval> since the default
destructor doesn't perform any cleanup. I am not proposing replacing
anything in the engine with c++.
Cheers,
Lanre.