The PHP interpreter is written in C or C++ (I forget which), but there are "features" of the PHP language that force it to be slow. Quercus gets around this (I think) by doing some one-time analysis to determine when those features are not being used, and accelerating the resulting intermediate language code when possible. There are other "accelerated PHP" systems that do similar things.
PHP is a fantastically crappy language.
|