[Info-vax] Rust as a HS language, was: Re: Quiet?
Jan-Erik Söderholm
jan-erik.soderholm at telia.com
Wed Apr 6 01:56:40 EDT 2022
Den 2022-04-06 kl. 01:22, skrev Chris Townley:
> 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...
>
>
UCSD p-Machine:
https://en.wikipedia.org/wiki/P-code_machine#UCSD_p-Machine
A bit like Java byte-code or Python pyc files.
More information about the Info-vax
mailing list