Re: Compiled PHP

From: Date: Fri, 11 Jan 2002 16:41:31 +0000
Subject: Re: Compiled PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-80210@lists.php.net to get a copy of this message
I think that he uses "bytecode" wrongly. C is not generating a bytecode but asm instead, then translated to machine code. Bytecode is another thing. Java is bytecoded. IMO that the question is : "Is there any tool which generates machine code as the C compiler does? " AFAIK the encoder first optimizes somehow the code and then encode it to make a bruteforce attack harder to do. Regards, Andrey Hristov ----- Original Message ----- From: "Henning Sprang" <henning_sprang@gmx.de> To: "Andrey Hristov" <ahristov@icygen.com> Cc: <charlesk@netgaintechnology.com>; <php-general@lists.php.net> Sent: Friday, January 11, 2002 6:31 PM Subject: Re: [PHP] Compiled PHP > Andrey Hristov wrote: > > > Several months ago there were notes on few websites about "phpcompiler". > > AFAIK it is not so good but it is something. > > Last week a man on php-dev said that he starts working on new php > compiler but with different approach - to connect in one thing - > > php4ts.dll, php.exe, and the source code untouched(no compiling on it). > > It is interesting if one can make compiler for php to Java bytecode. > I saw that there is a such compiler for Ada. > > > But, as i understood the question, he ist looking for something that > generates code which makes the php interpreter obsolete. > > I think something like this doesn't exist. There are several ways to > generate bytecode, but this is still to be run with a special interpreter. > > There are several approaches, whereof some have the goal to make > execution of code quicker and some others have the goal to give you > possibility to distribute your software without giving away the code in > readable form. I think there is an encoder from zend, too, to be found > at www.zend.com > > > my 2 cents > > henning > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#80210) next »