Re: [PHP-DEV] PHP Just-In-Time Compiler

2007-03-14 Thread Richard Lynch
Given the discussion this has provoked, it seems to this naive reader like it might be a good candidate for SoC. Just an idea... -- Some people have a gift link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

Re: [PHP-DEV] PHP Just-In-Time Compiler

2007-03-08 Thread Jacob Santos
The idea behind PHP from day one was that it was an environment for wrapping compiled code. Things that are performance critical is written in C/C++ and things that aren't are left in the PHP templates. Whether you issue an SQL query from PHP or from a compiled C program doesn't affect the

Re: [PHP-DEV] PHP Just-In-Time Compiler

2007-03-08 Thread Patrick Mueller
Rasmus Lerdorf wrote: This comes up once or twice a year. The machine code you compile to is going to end up looking a lot like the current executor since you don't have strong types to help you optimize anything. You'd still need to pass the unions around and do runtime type juggling and all

Re: [PHP-DEV] PHP Just-In-Time Compiler

2007-03-07 Thread Rasmus Lerdorf
This comes up once or twice a year. The machine code you compile to is going to end up looking a lot like the current executor since you don't have strong types to help you optimize anything. You'd still need to pass the unions around and do runtime type juggling and all the overhead that comes

Re: [PHP-DEV] PHP Just-In-Time Compiler

2007-03-07 Thread Alain Williams
On Wed, Mar 07, 2007 at 04:19:45PM -0600, Jacob Santos wrote: I believe it is possible currently using the Zend Engine and working it either on top of APC or in place of APC. It would quite possibly help if I ventured further into the Zend Engine and looked at APC source. Researching the