Re: NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

From: Date: Thu, 31 Jan 2002 06:58:27 +0000
Subject: Re: NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78654@lists.php.net to get a copy of this message
Hello, George Schlossnagle wrote:
APC supports compiled code in the fashion I think you're looking for. There's a README.compiler in the distribution tar ball.
I know, I use APC in MMAP mode and I noticed that it outputs PHP compiled code for each script to disk. That is precisely what is necessary. What is needed that is we can make it work officially as a compiler, not just as a cache engines that may or may not output compiled files to the disk. So, would you be interested in help to add the necessary glue to make it work officially also as a compiler, if you do not intend to do it yourself.
Sure. I'm not sure what glue you see needing adding, but I'm happy to help/
How Open Source is APC? Do you take volunteers help (patches, hackers with CVS accounts, bug reports, etc..)?
APC is completely open-source (release under QPL). Patches are awesome. CVS write-access is only for maintainers at the moment (and anon cvs to the world). There's noo hard-and-fast rule, but the base guideline for maintainer status is contribution fixes/patches of consistent merit and of more than 10% of the code base.
I looked at all free cache engines (PHPA, APC, Bware). PHPA seems to be going to non-Open Source route (no code available for everybody). Bware people are nice and are willing to cooperate even if they don't have much time. APC, I could not realize how alive the the project is. Do you actively work on it or are you too busy?
I haven't been very active since October (wish I could say it was a vacation, but alas, it was just work). In about 3 weeks, I should have much much more free time and hopefully be able to get back to being very active in apc.
Regards, Manuel LEmos
George On Wednesday, January 30, 2002, at 10:06 PM, Manuel Lemos wrote:
Hello, Alain Samoun wrote:
Manuel: In all fairness to the Zend people, you can get the compiler for $600/year or $50 per month.
The unlimited Zend Encoder Unlimited costs $2400. Actually, I don't see any other Zend Encoder purchase option. Anyway, like a lot of other PHP users, I am not interested in expensive commercial solutions, even less those that tie me to those products indefinetly. If people want to pay such fees to be fair to Zend or just to believe that what they got is good because it costed a lot of money, fine it is their problem. Now, it is true that a lot of people choose PHP because it is a free and easy solution for their developments but inlike with other languages there is no way to distribute a closed source version of their software. That is the proposal. This is about PHP, not Zend Encoder or comercial solutions. If people wanted to use Zend Encoder or any other commercial solutions, this thread would not have been even started.
If it still look too expansive to you, compared to the free perl compiler, there is also a perl compiler that costs $5,000...
Alain, be serious, Java compilers cost nothing. I know for a fact that a lot of people are discarding PHP because there is not an officially supported and free solution to compiler and distribute PHP application binaries when in Java and other languages that is a natural thing. This means that people drop PHP when they realize that it isn't as easy to protect their code to sell their applications. Until PHP developers realize that it is important to make it easy for PHP users to sell their applications, PHP will be seen as a less appealing solution.
Also, someone may be able to reverse the PHP code to C and create an exe with it (like Perl) . And last, but maybe the future: Web Services with SOAP?
It should be not be that hard. There are Java bytecode to C converters, it should not be hard to make Zend bytecode to C conversion. Regards, Manuel Lemos -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list- admin@lists.php.net
// George Schlossnagle // 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0
// George Schlossnagle
// 1024D/1100A5A0  1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0

Thread (47 messages)

« previous php.dev (#78654) next »