Deutsch   English   Français   Italiano  
<vdarvh$1l4ch$6@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: alt.folklore.computers,comp.os.linux.misc
Subject: Re: The joy of FORTRAN-like languages
Date: Sun, 29 Sep 2024 07:26:57 +0100
Organization: A little, after lunch
Lines: 31
Message-ID: <vdarvh$1l4ch$6@dont-email.me>
References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks>
 <vd8o1s$178gk$5@dont-email.me> <llr46dFmeudU2@mid.individual.net>
 <vd9r10$1d6gq$4@dont-email.me> <vd9rub$18mq$2@gal.iecc.com>
 <vd9see$1d6gq$5@dont-email.me> <AF4KO.179529$1m96.177503@fx15.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 29 Sep 2024 08:26:57 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9cd59f7df64340ef02b99baedfd9e3b2";
	logging-data="1741201"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/eCvwiZ+flmDGaR/0awNBnNU3qlgvX9Fk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VZofm3hQOPeCQZERBwrBbWtM2BM=
Content-Language: en-GB
In-Reply-To: <AF4KO.179529$1m96.177503@fx15.iad>
Bytes: 2397

On 29/09/2024 05:26, Charlie Gibbs wrote:
> On 2024-09-28, The Natural Philosopher <tnp@invalid.invalid> wrote:
> 
>> On 28/09/2024 22:20, John Levine wrote:
>>
>>> C was in the sweet spot of being not all that great, but better than
>>> any of the plausible alternatives at the time.
>>>
>> As far as I was concerned it was heaven. Assembler but 10x faster to
>> actually write.
>> And the way it used local variables was magic. Very hard to use the
>> stack as a scractc pad in assembler - you have to keep track of so many
>> offsets
> 
> That's assuming your machine has a stack, which the IBM 360 didn't.
> 

Well there are probably other ways to implement a stack than having it 
built into a computer.
Like a having a general purpose register reserved for a stack pointer 
and manually creating push pop call and return as macros

I don't see how you can run any code that needs to do subroutines 
without some form of stack.

-- 
"When a true genius appears in the world, you may know him by this sign, 
that the dunces are all in confederacy against him."

Jonathan Swift.