Vladimir Panteleev wrote: > PHP without CGI is likely to be faster than D with CGI.
Nope. In my last post, I did cgi/D vs builtin/D and we saw a 10 ms difference (running on my home computer. I did the same thing on the live company server just now and saw only a 2 ms difference - proper configuration and hardware helps cut it down too.) I mentioned a 40% speedup on comparable products D vs PHP. Let's list some more. One of the company websites is run by Wordpress. 246 ms per request. Another uses phpBB3. 73 ms per request. One of them uses a PHP graph library to make a quick line graph. 136 ms per request. Let's contrast to an assortment of D sites I've written for them, all on that same server. Dynamic homepage: 11 ms per request Scheduling and conferencing app: 14 ms per request Gradient generator outputting small pngs: 4 ms per request Most the D apps would be too hard to rewrite in PHP to do a direct comparison, so we'll have to settle for the 10x difference we see between these and the popular PHP packages... But the gradient generator is simple. I found a PHP program on the web that does the same thing with basic options, utilizing the GD library. I downloaded and benchmarked it.... 19 ms per request, creating identical images. (average of 2000 requests) Recall the D program, running on CGI, did the very same thing in 4 ms per request, about 5x faster. We can ignore the network, embrace CGI, and still *easily* crush PHP performance with anything more complicated than hello world.