[Info-vax] Programming languages on VMS
Arne Vajhøj
arne at vajhoej.dk
Sat Feb 3 21:09:18 EST 2018
On 2/2/2018 2:36 PM, seasoned_geek wrote:
> On Thursday, February 1, 2018 at 6:14:54 PM UTC-6, Arne Vajhøj wrote:
>> On 2/1/2018 4:34 PM, seasoned_geek wrote:
>>> On Wednesday, January 31, 2018 at 8:40:02 PM UTC-6, Arne Vajhøj wrote:
>>>> No, but the JIT compiler in the JVM make it non-interpreted. Or
>>>> more correctly non-interpreted for code executed many times
>>>> as Java (unlike .NET) first JIT compiles when it considers
>>>> it beneficial (there is a bunch of -XX parameters to
>>>> influence that behavior).
>>>
>>> No, it doesn't. It is exactly like pregnancy. You are or you aren't.
>>> Java is _always_ interpreted. What the VM does with it after
>>> interpreting the byte code is no part of the discussion.
>>
>> The process (after warmup) is:
>>
>> Java source code---(compilation by Java compiler)--->Java byte
>> code---(compilation by JVM JIT compiler)--->native code--->execution by CPU
>>
>> There are 2 compilations and 0 interpretations.
>>
>> I will call that compiled not interpreted.
>>
>
> You would be incorrect, but you are used to that.
>
> Each and every time from invocation the byte code has to be
> interpreted into something the computer can actually run.
>
> You can't put a dress on your pet dog and take it as your date to prom.
Me and the IT industry calls a translation from byte code
to native instructions for compilation.
It is not interpretation as the actions are not actually executed.
https://en.wikipedia.org/wiki/Compiler
<quote>
A compiler is computer software that transforms computer code written in
one programming language (the source language) into another programming
language (the target language).
</quote?
https://en.wikipedia.org/wiki/Interpreter_(computing)
<quote>
In computer science, an interpreter is a computer program that directly
executes, i.e. performs, instructions written in a programming or
scripting language, without requiring them previously to have been
compiled into a machine language program.
</quote?
Arne
More information about the Info-vax
mailing list