Re: The joy of FORTRAN-like languages

Liste des GroupesRevenir à col misc 
Sujet : Re: The joy of FORTRAN-like languages
De : peter_flass (at) *nospam* yahoo.com (Peter Flass)
Groupes : alt.folklore.computers comp.os.linux.misc
Date : 30. Sep 2024, 22:19:43
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1357953567.749420620.271367.peter_flass-yahoo.com@news.eternal-september.org>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : NewsTap/5.3.1 (iPad)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Mon, 30 Sep 2024 05:46:39 GMT, Charlie Gibbs wrote:
 
On 2024-09-29, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
 
On Sun, 29 Sep 2024 04:26:08 GMT, Charlie Gibbs wrote:
 
That's assuming your machine has a stack, which the IBM 360 didn't.
 
Presumably there was a software-defined stack in the ABI. Otherwise how
would a language like PL/I handle recursion?
 
The subroutine calling convention required the calling program to pass a
pointer to a register save area.  A recursive routine would have to
allocate a save area in each instance (and, of course, free it before
exiting).  If they wanted local variables,
they'd have to allocate and free them as well.
 
Where would all this save area go?
 

Back to the system’s memory pool. OS allocates memory like heap storage.

--
Pete

Date Sujet#  Auteur
29 Sep 24 * Re: The joy of FORTRAN-like languages10Lawrence D'Oliveiro
30 Sep 24 +* Re: The joy of FORTRAN-like languages2Lawrence D'Oliveiro
30 Sep 24 i`- Re: The joy of FORTRAN-like languages1Peter Flass
30 Sep 24 +* Re: The joy of FORTRAN-like languages2The Natural Philosopher
30 Sep 24 i`- Re: The joy of ALGOL-like languages1Lawrence D'Oliveiro
30 Sep 24 `* Re: The joy of FORTRAN-like languages5Peter Flass
1 Oct 24  +- Re: The joy of FORTRAN-like languages1Lawrence D'Oliveiro
4 Oct 24  `* Re: stacks are not hard, The joy of FORTRAN-like languages3John Levine
4 Oct 24   `* Re: stacks are not hard, The joy of FORTRAN-like languages2Lawrence D'Oliveiro
5 Oct 24    `- Re: stacks are not hard, The joy of FORTRAN-like languages1Lynn Wheeler

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal