|Another diff (or misconception) It's certainly possible to scale PHP up to run massive multi-server apps. Whether other platforms do that more efficiently or not is up for debate, but still possible. Few other platforms can scale down the way PHP does - embed 3 lines in a web site, runs, memory's cleaned up, etc. Lots more baggage and set up for most people to make that happen in .net or java, for example. |
|2011-08-19 02:47:15 - In reply to message 1 from michael kimsal|
|This is probably the best pro-PHP argument i've seen in many years. Never thought of that until now, but is so true that makes me feel stupid :)|
|2011-08-19 04:52:35 - In reply to message 1 from michael kimsal|
|Good point. I am not very experienced with Java but from what I understood, Java requires that you reserve a certain amount of RAM to run its virtual machine, so that memory cannot be used by other applications in the same machine.|
It may seem that it can be faster to execute code preloaded in memory, but it seems to be a great waste of memory.
PHP can be much more efficient than that by using caching extensions and pre-forked Web server processes to not be too slow to handle each request.