Re: PHP compiler

php.internals

Unnamed Person

23 years ago
I would have thought the big thing against a compiler which produced native machine code is that sooner or later differences between Operating Systems and the library functions they provide would mean that the language would no longer be machine independent. >Which for me (and a lot of other developers) is one of the key features of PHP. ========================================== Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: rblack@datavisibility.co.uk "Jeremy S. Johnstone" To: <internals@lists.php.net> <jsjohnst@rockets cc: ervers.net> Subject: [PHP-DEV] PHP compiler 06/08/2003 14:50 After seeing the conversation on the PHP archive idea (having a PHP equivalent of a jar file), it reminded me of an idea I had a long time ago. Has anyone ever thought of writing a PHP compiler which would compile a PHP script into native machine code? If you have thought of it, what stopped you from building it? I would be highly interested in joining a team which wanted to push the limits of PHP by doing something like this. I think this is the next logical step in the "PHP for anything and everything" goal. Jeremy

Jeraimee Hughes

23 years ago
Related to the current topic, I'm the Project Manager for a project called BinaryPHP. A PHP to C++ conversion tool. We've just released our proof of concept and would love feedback from the more advanced user-base as well as input from others thinking along the same lines. http://binaryphp.sourceforge.net/
-- Jeraimee