Re: PHP compiler
| From: | Per Lundberg | Date: | Wed, 06 Aug 2003 13:59:59 +0000 |
| Subject: | Re: PHP compiler | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3765@lists.php.net to get a copy of this message | ||
On Wed, 2003-08-06 at 15:50, Jeremy S. Johnstone wrote:
> 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?
Not to discourage you or anything, but I doubt that would be a very good
idea. Because of the nature of PHP (being loosely typed and highly
dynamic), I think you would be disappointed with the speed result -- it
wouldn't be very much faster than the current PHP interpreter.
But then again, for distributing binary-only applications it would
perhaps be a good idea.
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc