[Date Prev][Date Next][Thread Prev][Thread Next]
- 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
> 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).
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.