Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3765 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93659 invoked from network); 6 Aug 2003 13:59:55 -0000 Received: from unknown (HELO salem) (212.209.116.169) by pb1.pair.com with SMTP; 6 Aug 2003 13:59:55 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by salem with local; Wed, 06 Aug 2003 15:59:59 +0200 To: "Jeremy S. Johnstone" Cc: PHP internals In-Reply-To: <00ae01c35c21$c66af3c0$6521a8c0@RESIDENT> References: <00ae01c35c21$c66af3c0$6521a8c0@RESIDENT> Organization: Capio ApS Message-ID: <1060178399.2545.56.camel@salem.intra.nobolt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_salem-13806-1060178399-0001-2" X-Mailer: Ximian Evolution 1.4.3 Date: 06 Aug 2003 15:59:59 +0200 Subject: Re: [PHP-DEV] PHP compiler From: per@nobolt.com (Per Lundberg) --=_salem-13806-1060178399-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 --=_salem-13806-1060178399-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/MQnfTN4aRo9LnpERAr0kAJ0XsRpVloztfTkm6l4ZugFt7uzKyQCgqEch H8Hb1rhMdrWUHmT1oALqc+c= =6AQ4 -----END PGP SIGNATURE----- --=_salem-13806-1060178399-0001-2--