On Mon Aug 25 06:28 PM, steve wrote:
> Has anyone had success compiling PHP with LLVM?
> 

I haven't tried it, here is a good summary:
http://llvm.org/devmtg/2008-08/Lopes_PHP-JIT-InTwoDays.pdf

In short, it is 'slower' but that seems to be without any caching of the
"bytecode"

Bytecode is not opcode:
http://www.santosj.name/general/computers/byte-code-vs-op-code/

Right now, the most effective strategy to optimize php is executing opcodes
using an "opcode" cache such as APC (facebook & others use this). 

That's from my research, maybe someone can correct me here.
Isn't using something like Zend Guard (converts code into opcode) then
caching the opcodes essentially JIT?

Even if opcode is not binary, it's still a fast intermediate form that gets
translated into machine binary, isn't that JIT? 





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

Reply via email to