Language interpreted from source code vs. bytecode in Web?

No, there's no guarantees about this at all. It's part of the normal compilation process to produce an intermediary bytecode. PHP just goes source -> bytecode -> execution all in one go, whereas Java goes source -> file -> bytecode -> execution.

There's not much difference. The primary difference will come in backends- how effective is the JIT backing both languages, how much of the program is static versus dynamic (types, for example).

No, there's no guarantees about this at all. It's part of the normal compilation process to produce an intermediary bytecode. PHP just goes source -> bytecode -> execution all in one go, whereas Java goes source -> file -> bytecode -> execution.

There's not much difference. The primary difference will come in backends- how effective is the JIT backing both languages, how much of the program is static versus dynamic (types, for example). More importantly, the time spent up and downloading the necessary packets or database interactions will likely dominate the website performance, not the backing language.

For text vs. byte code interpreters, in general, the "faster" one will be the one with more technology spent compiling the source code to optimized machine code. This assumes that the amount of computation to do dominates the amount of time it takes to "compile" the code. Fro web pages, it may or may not matter much, since your web pages may not have a lot of computation to do.(Most web pages spend their time waiting for user input :) For your one line example, I don't think anybody cares.

For PHP vs. Java, I think you will find that Java is a hands down winner in terms of overall speed. The PHP pHop compiler is an attempt to catch up with the general Just-in-time compiler capabilities of most Java implementations.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions