RE: [PHP4BETA] compiler ?
| From: | Sander Pilon | Date: | Sat, 31 Jul 1999 10:32:05 +0000 |
| Subject: | RE: [PHP4BETA] compiler ? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3007@lists.php.net to get a copy of this message | ||
Are this 3 seperate products? Or is it a bundle?
Thanks for clearing it up, btw ;)
Sander
> At 04:10 31/07/99 , Sander Pilon wrote:
> > >
> > > Several features - it's going to be a fairly feature rich
> product. Speed
> > > isn't one of the features - there's no speed improvements
> involved in the
> > > entire idea of the script->file compiler.
> > >
> >
> >Is it my rusty memory, or is this contradictive with previous statements?
>
> Could be your rusty memory, could be bad phrasing on my part.
>
> There are going to be several modules, that happily interact with each
> other (after we taught them to:), but are technically separate.
>
> One is the script->file compiler. What it does is compile scripts into
> binary representation that's platform independent, and is smart enough to
> load them and execute them too. There's little performance gain involved
> in using it - unless you have very complex scripts that take a
> long time to
> compile each time, and the binary loader would do the job faster.
>
> Then there's the optimizer - which takes an input stream of Zend
> intermediate code, and outputs a better stream. This has considerable
> speed up in it, often 2x-3x. It can be coupled with the script->file
> compiler, i.e., you could compile a script, optimize it, and save it to a
> binary file - so that every time you load it afterwards, it's already
> compiled and optimized.
>
> Finally, there's the persistent registry, that saves compiled
> representations of your script in memory. This too happily
> interacts with
> the optimizer (i.e., if you have the optimizer loaded, the script will be
> compiled once, optimized, and the optimized representation will
> be saved in
> memory).
>
> All in all, products-wise, I think the optimizer will be integrated with
> both the script->file compiler and the persistent registry, the
> script->file compiler being aimed at people who wish to commercially
> distribute their scripts, and the persistent registry and very very very
> very busy sites - both address commercial companies, as you can tell (if
> there'll be cases where there are very busy non commercial sites, we'd
> happily license it to them for free).
>
> Zeev
> --
> Zeev Suraski <zeev@zend.com> http://www.zend.com/
> For a PGP public key, finger bourbon@netvision.net.il
>
>
> --
> PHP 4 Beta
>