On Fri, Mar 15, 2019 at 10:53 AM Dmitry Stogov <dmi...@zend.com> wrote:

> Hi Internals,
>
> https://wiki.php.net/rfc/jit
>
> Now JIT also supports ZTS (checked on Linux and Windows).
> Please, test and report problems.
>
> So, complains about JIT compatibility matrix are satisfied.
> It should be some incompatibilities with ZTS on Mac, but this easily
> fixable.
>
> I'll spend some additional time on code cleanup, and then start voting.
>
> Ideas for RFC and code improvement are welcome.
>

I think this can still be done post RFC, but I am still very keen on
solving the tracing issue with a new unified API that:

- avoids zend_execute overwrites (to keep a stackless VM)
- works with VM and JIT
- works with internal and userland functions
- maybe allows some control for extension developers to run only on a
selective number of calls (this can be implemented with AST processor and
internal function handler overwrites).
- has access to arguments and return value

And an API in either reflection or opcache to find out which
functions/methods are jitted would also be helpful.
Testing with the jit branch currently its very hard to verify that it
actually works without turning debug output on.


>
> Thanks. Dmitry.
>
>
>
> On 1/31/19 12:43 PM, Dmitry Stogov wrote:
> > Hi Internals,
> >
> >
> > I'm glad to finally propose including JIT into PHP.
> >
> >
> > https://wiki.php.net/rfc/jit
> >
> >
> > In the current state it may be included both into PHP-8, where we are
> going to continue active improvement, and into PHP-7.4, as an experimental
> feature.
> >
> >
> > Thanks. Dmitry.
> >
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to