If you're so inclined to pursue it, you don't (technically) need to
modify PHP core at all.
1) Make an extension which hooks zend_compile_file (just as APC and
many others do).
2) First request of a file passes through to the real compiler and
both returns main() opcodes *and* sends a copy of main
Many thanks for the feedback.
I would love see some JIT features added to the core as this would help to
improve the overall performance.
Sara,
I like your extension idea as this would not require any changes to the
core.
Here's another idea:
---
1. Modify PHP co
On Mon, Nov 26, 2012 at 9:09 PM, Rasmus Lerdorf wrote:
> On 11/26/2012 09:03 PM, Sara Golemon wrote:
>> P.S. - I do disagree with Rasmus' statement about none of us looking
>> at fitting a JIT into PHP. ;)
>
> I think you misread my reply. I specifically said that a JIT is a
> possibility, just no
On 11/26/2012 09:03 PM, Sara Golemon wrote:
> P.S. - I do disagree with Rasmus' statement about none of us looking
> at fitting a JIT into PHP. ;)
I think you misread my reply. I specifically said that a JIT is a
possibility, just not the HH approach.
-Rasmus
--
PHP Internals - PHP Runtime Dev
>> I've being reading about HHVM and the numbers are looking great but I was
>> just wondering if we will we ever see something like HHVM being added to
>> the PHP core?
>
> No, not likely. Maybe an LLVM-based JIT one day, but the HHVM approach
> is not something any of us are looking at.
>
To echo
On 11/26/2012 05:24 PM, Raymond Irving wrote:
> Hello,
>
> I've being reading about HHVM and the numbers are looking great but I was
> just wondering if we will we ever see something like HHVM being added to
> the PHP core?
No, not likely. Maybe an LLVM-based JIT one day, but the HHVM approach
is