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

From: Date: Mon, 12 Aug 2024 16:50:22 +0000
Subject: Re: [DISCUSSION] C++ Enhancements in Zend API
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-124895@lists.php.net to get a copy of this message
On Mon, Aug 12, 2024, 11:03 PM John Coggeshall <john@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 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 > secure, and harder to maintain codebase. The win of making it easier / > "nicer" on a subset of developers who might prefer a C++ interface isn't > anywhere near worth the risk IMO. > if anything, I would rather go with rust (zig would have my preference ;-). The benefits would be to have a significant ease to contribute for many. Neither of c++ or rust would be easy to add. The later would have the huge advantage to bring a little bit more safety to the extensions APIs. A less diplomatic answer would be that c++ makes zero sense in 2024 for php (or any other language), a strong and bold take :) best, Pierre

« previous php.internals (#124895) next »