News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jacob Santos' Blog:
Would PHP benefit from JIT compilation?
March 27, 2007 @ 10:52:00

In this post from his blog, Jacob Santos asks the question "would PHP benefit from JIT compilation?"

JIT (just in time) compilation is, according to Wikipedia, a method for converting, at runtime, code from one format into another, for example bytecode into native machine code. To try to see the benefit of this, Jacob asks four questions in his post (each with their own problems):

  • Q: What advantage over opcode caching is gained?
    P: A JIT library that works with PHP would have to support all of the architectures that PHP can run on!
  • Q: Which JIT library is the best one?
    P: A JIT compiler is not going to achieve anything without either storing the results or caching them.
  • Q: Wouldn't writing PHP extensions negate the need for JIT compilation?
  • Q: When will I develop and release my implementation?
Check out the comments for some great thoughts from others about this kind of compilation.

1 comment voice your opinion now!
jit compilation benefit question problem opcode support extension jit compilation benefit question problem opcode support extension



Community Events





Don't see your event here?
Let us know!


series podcast symfony library tool laravel release version conference list community composer opinion security artisanfiles introduction framework language voicesoftheelephpant interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework