[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Why not Just PHP-stupid include?
- From: "Patrick Mc(avery" <patrick@...>
- Date: Tue, 18 Oct 2011 21:16:12 -0400
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.
Maybe this is just the price one pays for a small fast scripting
language. If Lua has to be fat and slow to offer what I have been asking
for then there isn't much point to it.
I think the Lua team must have a difficult job weighing the different
threats and opportunities in the language business. They need a user
friendly API to compete with the fat languages but don't have the
libraries to make Lua a fat language itself.