Assuming the program is written in two different languages:
- In a language that is interpreted from source code (e.g. PHP)
- In a language that is interpreted from bytecode (like Java).
Both programs do exactly the same thing (for simplicity, let's say they both simply output one line of text).
Will the language (2) be faster than (1)?
Can I conclude that theoretically, in the case where two sites offer the same functionality, but one of them is built with PHP and the other with Java (JSP), a Java-based site will be faster?
Joel
source
share