[Info-vax] Rust as a HS language, was: Re: Quiet?
Arne Vajhøj
arne at vajhoej.dk
Tue Apr 5 19:14:22 EDT 2022
On 4/5/2022 1:25 PM, Simon Clubley wrote:
> On 2022-04-04, Arne Vajhøj <arne at vajhoej.dk> wrote:
>> On 4/4/2022 1:56 PM, Simon Clubley wrote:
>>>
>>> Why wasn't Python 3 just another language mode in the existing compiler
>>> instead of being a whole different compiler ?
>>
>> (ignoring that I would not call Python a compiler)
>>
>
> In that case, would you have said (for example) UCSD Pascal wasn't
> a compiler ?
I have never used USCD Pascal, but I assume that it has a compilation
step, so NO.
> Python can output .pyc files but also has a way of running code
> interactively if desired.
Modules get saved as .pyc files when first used.
I would call that "caching of intermediate code for
interpretation" and not "compilation" but the difference
between "caching of intermediate code for interpretation"
and "JIT compilation" is pretty thin.
But for no other reasons than common custom, then
I do not consider Python (CPython that is)
compiled.
Arne
More information about the Info-vax
mailing list