[Info-vax] Rust as a HS language, was: Re: Quiet?
Chris Townley
news at cct-net.co.uk
Tue Apr 5 19:22:06 EDT 2022
On 06/04/2022 00:14, Arne Vajhøj wrote:
> 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
>
UCSD 'compilers' famously compiled to a pseudo code that was then
interpreted. Didn't go down well then...
--
Chris
More information about the Info-vax
mailing list