It depends on implementation. Considerable differences exist even within the technologies you mentioned. PHP configured as a CGI executable under Apache is slower than PHP configured as an Apache module. Under Zeus, PHP configured as FastCGI is usually faster than server module. With Java, a lot depends on which runtime environment (Tomcat, JBOSS, PowerTier, WebLogic, WebSphere, etc.) you are using.
More importantly, the greatest pefrormance drag usually comes from the database engine. So it is important to properly configure the database engine for working with your preferred programming language...
2006-11-29 15:30:23
·
answer #1
·
answered by NC 7
·
0⤊
0⤋
It really all depends on the implementation. That being said, I will say PHP looks and smells a lot like the C programming language, right down to the function calls that are almost a one-for-one match to the C runtime libraries. C is basically about as close as you can get to machine language and still be able to read the code. In other words, it's not too difficult to translate (and thus pretty zippy) PHP into machine language.
2006-11-29 07:13:58
·
answer #2
·
answered by rentaprogrammer 2
·
0⤊
0⤋
Kind of an apples and oranges question. It depends on the platform each will be run on - IIS, Apache, WebSphere, Windows, Linux, Solaris.... there's no one simple answer to a question of that kind.
2006-11-29 07:07:12
·
answer #3
·
answered by evolver 6
·
2⤊
0⤋