I’m not sure it’s a great real-world example - PHP Parser is much more maths-y 
than the vast amount of PHP code, but if your PHP-based compiler had a similar 
makeup it might show somewhat similar benefits.

> On Feb 5, 2019, at 8:47 PM, Andrea Faulds <a...@ajf.me> wrote:
> 
> Hi,
> 
> Dmitry Stogov wrote:
>> I've added info from Nikita: PHP-Parser became 1.5 times faster.
> 
> That is actually a very good real-world example from my perspective and makes 
> a better case for why JIT compilation to native code would be beneficial. I 
> would like to write a PHP compiler in PHP (actually, I began doing so but 
> it's very neglected and pretty useless) and it is exciting if JIT could make 
> PHP do that type of task faster. :)
> 
> Thanks,
> Andrea
> 
> -- 
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to