[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why not Just PHP-stupid include?
- From: Matthew Wild <mwild1@...>
- Date: Wed, 19 Oct 2011 01:08:07 +0100
On 19 October 2011 00:10, Patrick Mc(avery
<patrick@spellingbeewinnars.org> wrote:
> Thanks for feeding back on this. Is this how other languages like PHP do
> this? They are run through a preprocessor first? Is this why PHP is 3X -4X
> slower then Lua?
Please don't take any of this as black and white, because I really
have never looked at the PHP code myself (except via stories like[1]).
However, from what I can tell there is basically no clean separation
between parser and interpreter/VM in PHP like there is in Lua. Don't
forget that PHP stands for Hypertext *Preprocessor*... it's amazing
(though I guess actually not) in this light that we ever got to the
point where people are writing daemons in PHP.
Regards,
Matthew
[1]: http://use.perl.org/~Aristotle/journal/33448