Has anyone tried this or know of anyone who is interested in implementing this for the Zend Engine?
actually yes. Gopal ([EMAIL PROTECTED]) made a non-public (but working) prototype of a JIT PHP version. It was based on libjit (used by dotgnu). I also have a good background in compilers and I would be interested in such project (as well as a better GC).
I believe it is possible currently using the Zend Engine and working it either on top of APC or in place of APC. It would quite possibly help if I ventured further into the Zend Engine and looked at APC source.
Forget APC. You can hook directly in the engine and do the JITing from there. APC could later be extended to also cache the compiled code, but at first shot you don't need it.
I don't think it is a difficult task to add JIT compilation to PHP, but we need someone that steps forward and do the first part and then convince the other developers that it is good. Ah please remember that PHP works in a huge number of platforms (from a toaster to a mainframe), so the library you choose must be really portable and support many archs.
Nuno
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php