[Info-vax] Rust as a HS language, was: Re: Quiet?

Simon Clubley clubley at remove_me.eisner.decus.org-Earth.UFP
Wed Apr 6 08:30:34 EDT 2022


On 2022-04-05, Chris Townley <news at cct-net.co.uk> wrote:
> 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...
>

Exactly why I picked that example. Its pretty much the same thing
as what Python does.

Another example, closer to home: Is TPU a compiled language ?

Simon.

-- 
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.



More information about the Info-vax mailing list