Ask a Question related to PHP Development, Design and Development.
-
Jeremy S. Johnstone #1
[PHP-DEV] PHP compiler
------=_NextPart_000_00AF_01C35BF7.DD94EBC0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_00AF_01C35BF7.DD94EBC0--
Jeremy S. Johnstone Guest
-
CHM Compiler
Has anyone come across a DW extension that'll compile to CHM files? - Maybe using H tags for topics or ...? Thanks, Corona -
php compiler
Hello, Sorry I dont know a great deal about programming or much about the language PHP, but I am after a 'PHP compiler' if there exists such a... -
Re[4]: [PHP-DEV] PHP compiler
Hello Antony, Wednesday, August 6, 2003, 8:43:13 PM, you wrote: AD> If archive is all what you want to get, then what prevents you to write... -
Re[2]: [PHP-DEV] PHP compiler
The only problem with that approach is that you have to distribute the php executable and your program is loaded using a command line similar to: ... -
Compiler Error Message: The compiler failed with error code 128.
Hi. I am having trouble running my aspx code. I created two simple webforms, which i try to run from two different directories one is giving me... -
rblack@datavisibility.co.uk #2
Re: [PHP-DEV] PHP compiler
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 - [url]http://www.datavisibility.com[/url]
Tel: 0141 951 3481
Email: [email]rblack@datavisibility.co.uk[/email]
"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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
rblack@datavisibility.co.uk Guest
-
Per Lundberg #3
Re: [PHP-DEV] PHP compiler
--=_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:Not to discourage you or anything, but I doubt that would be a very good> 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?
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: [url]http://www.nobolt.com[/url]
--=_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/MQnfTN4aRo9LnpERAr0kAJ0XsRpVloztfTkm6l4ZugFt7uzKyQ CgqEch
H8Hb1rhMdrWUHmT1oALqc+c=
=6AQ4
-----END PGP SIGNATURE-----
--=_salem-13806-1060178399-0001-2--
Per Lundberg Guest
-
Andrey Hristov #4
Re: [PHP-DEV] PHP compiler
Even there is "bcompiler" in PEAR.
Andrey
----- Original Message -----
From: "Simeon Koptelov" <xi@newmail.ru>
To: <internals@lists.php.net>
Sent: Wednesday, August 06, 2003 6:07 PM
Subject: Re: [PHP-DEV] PHP compiler
time> Hello Jeremy,
>
> Wednesday, August 6, 2003, 7:50:57 PM, you wrote:
>
> JSJ> After seeing the conversation on the PHP archive idea (having a PHP
> JSJ> equivalent of a jar file), it reminded me of an idea I had a longin> JSJ> ago. Has anyone ever thought of writing a PHP compiler which would
> JSJ> compile a PHP script into native machine code? If you have thought of
> JSJ> it, what stopped you from building it? I would be highly interestedsomething> JSJ> joining a team which wanted to push the limits of PHP by doing> JSJ> like this. I think this is the next logical step in the "PHP for
> JSJ> anything and everything" goal.
>
> There are pruducts such as Zend Accelerator or Turck MMCache. Did you
> mean that type of compiling?
>
> --
> Best regards,
> Simeon mailto:xi@newmail.ru
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Andrey Hristov Guest
-
Sebastian Bergmann #5
Re: [PHP-DEV] PHP compiler
Wez Furlong wrote:
Like how to use the Streams API to implement the JAR-like functionality?> more technical issues actually related to the internals of PHP ? :-)
SCNR,
Sebastian
--
Sebastian Bergmann
[url]http://sebastian-bergmann.de/[/url] [url]http://phpOpenTracker.de/[/url]
Das Buch zu PHP 5: [url]http://professionelle-softwareentwicklung-mit-php5.de/[/url]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
Sebastian Bergmann Guest
-
Andrey Hristov #6
Re: [PHP-DEV] PHP compiler
Sebastian,
accordint to this
[url]http://entwickler.com/itr/online_artikel/psecom,id,368,nodeid,114.html[/url]
article written by Wez :
[snip]
We have touched on all the key features of wrappers, and you should now be
capable of implementing your own protocol wrappers as PECL extensions. This
has a number of applications, ranging from just providing useful protocol
support, to using these features to implement your own storage for encrypted
or encoded PHP source files - remember that the Zend Engine is also tied
into the wrappers system, so you can include files via your own custom
wrappers.
[/snip]
Andrey
----- Original Message -----
From: "Sebastian Bergmann" <sebastian@php.net>
To: <internals@lists.php.net>
Sent: Wednesday, August 06, 2003 6:40 PM
Subject: Re: [PHP-DEV] PHP compiler
> Wez Furlong wrote:>> > more technical issues actually related to the internals of PHP ? :-)
> Like how to use the Streams API to implement the JAR-like functionality?
>
> SCNR,
> Sebastian
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/ http://phpOpenTracker.de/
>
> Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Andrey Hristov Guest



Reply With Quote

