[PHP-DEV] Re: [RFC][Discuss] Covariant return- and contravariant parameter- types

2018-12-11 Thread Levi Morrison
On Mon, Nov 26, 2018 at 2:25 PM Levi Morrison wrote: > > I am happy to announce my latest RFC, [Covariant Returns and > Contravariant Parameters][1], is open for discussion. If you do not > recognize those terms then hopefully the introduction coupled with the > [examples][2] will help. Here is

Re: [PHP-DEV] [RFC] FFI - Foreign Function Interface

2018-12-11 Thread Levi Morrison
On Tue, Dec 11, 2018 at 11:33 AM Christoph M. Becker wrote: > On 06.12.2018 at 17:26, Marco Pivetta wrote: > > > 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

Re: [PHP-DEV] [RFC] FFI - Foreign Function Interface

2018-12-11 Thread Christoph M. Becker
On 06.12.2018 at 17:26, Marco Pivetta wrote: > 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

Re: [PHP-DEV] [RFC] FFI - Foreign Function Interface

2018-12-11 Thread Sara Golemon
On Thu, Dec 6, 2018 at 9:54 AM Dmitry Stogov wrote: > I would like to start discussion of FFI RFC https://wiki.php.net/rfc/ffi > > I said this already privately, but I just want to repeat here in the open. This thing is DANGEROUS. I know you know that. I'm not telling you, I'm stating it for

Re: [PHP-DEV] [RFC] FFI - Foreign Function Interface

2018-12-11 Thread Markus Fischer
On 11.12.18 16:42, Marco Pivetta wrote: > People who don't know what FFI is, don't need it. I think this is a very dangerous way of designing, writing and documenting software. I appreciate your efforts in pushing this forward, but please reconsider when approaching the naming problematic,

Re: [PHP-DEV] [RFC] FFI - Foreign Function Interface

2018-12-11 Thread Marco Pivetta
> People who don't know what FFI is, don't need it. I think this is a very dangerous way of designing, writing and documenting software. I appreciate your efforts in pushing this forward, but please reconsider when approaching the naming problematic, because this point of view is extremely

Re: [PHP-DEV] [RFC] FFI - Foreign Function Interface

2018-12-11 Thread Dmitry Stogov
Hi Marco, Some API and naming issues may be changed, e.g. FFI::array_type() was renamed to FFI::arrayType(). Changing FFI into ForeignFunctionInterface looks, like an overhead. People who don't know what FFI is, don't need it. I surprised, there are no any problem reports... It seems, like