Re: PHP FFI extenesion
| From: | Michael Wallner | Date: | Thu, 26 Apr 2018 07:31:28 +0000 |
| Subject: | Re: PHP FFI extenesion | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102075@lists.php.net to get a copy of this message | ||
Hey Dmitry!
On 17/04/18 09:29, Dmitry Stogov wrote:
> hi Michael,
>
> it's pitty, I didn't found this extension before.
> thanks for pointing, I'll definetly take a look.
Did you have a chance to look at it yet?
> I, also, like the idea of preloading ffi definitions on startup, but I
> would prefer to allow preloading any php files. Especially for FFI, PHP
> wrappers would able to hide dangerous implementation details.
>
I'm not sure the one depends on the other, and how would that be
different to opcache?
With PSI everything related C is encapsulated, you cannot change
anything regarding the access or calling scheme at runtime.
I admit, PSI is far away from being optimized or even finished yet, but
there are a few important key differentiation points:
- the system administrator controls FFI
- parses C headers, no need to duplicate declarations
- function call and data access is pre-defined, not at runtime
--
Regards,
Mike
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc