Re: [RFC] FFI - Foreign Function Interface
| From: | Marco Pivetta | Date: | Thu, 06 Dec 2018 16:26:57 +0000 |
| Subject: | Re: [RFC] FFI - Foreign Function Interface | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103560@lists.php.net to get a copy of this message | ||
Looks very interesting, especially for simplifying the landscape of
extensions.
Still, the amount of abbreviations and naming issues is quite huge: needs a
lot of care on that end, IMO. Even just the name of the type (
FFI) can
simply be expanded to ForeignFunctionInterface.
Just my 2 cents.
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/
On Thu, Dec 6, 2018 at 4:54 PM Dmitry Stogov <dmitry@zend.com> wrote:
> Hi Internals,
>
>
> I would like to start discussion of FFI RFC
> https://wiki.php.net/rfc/ffi
>
>
> This extension allows calling C function and accessing C data structures
> in pure PHP.
>
> In conjunction with preloading it gives a possibility to write PHP
> extension in PHP itself.
>
> The extension was tested on attempt to build TensorFlow PHP binding.
>
>
> Thanks. Dmitry.
>