Computer Old Farts Forum
 help / color / mirror / Atom feed
From: doug at cs.dartmouth.edu (Doug McIlroy)
Subject: [COFF] [TUHS] Unix quix
Date: Thu, 23 Jan 2020 10:51:31 -0500	[thread overview]
Message-ID: <202001231551.00NFpVU4033383@tahoe.cs.Dartmouth.EDU> (raw)
In-Reply-To: <CAC20D2NX0DK5w-8LGOjzdGzVRZ+r1bF5xPyjbEJJVoAqT9Q4dQ@mail.gmail.com>

Clem wrote, " the question came out language design of how the
stack or register call area was maintained:  Was it/should it be the
responsibility of the calling routine or the called subroutine.  Things
like Fortran's entry statement and other non-local goto's,
co-routines/setjmp/longjmp added fuel to the fire in the argument."

I don't remember much prospective discussion of the subject, but
lots of retrospective discussion of techniques that didn't
quite work, going right back to Lisp's A-list and the ensuing
"funarg problem". The first PL/I out of Hursley got it wrong, too,
but they were able to correct it before the bad way became
ingrained. In C, which had no need for closures (thunks),
efficiency was the main concern in choice of stack protocol.
The only delicate situation, longjump, was sidestepped by
doing it via library rather than language.

Doug


  reply	other threads:[~2020-01-23 15:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200122184244.14CBB18C083@mercury.lcs.mit.edu>
2020-01-23  5:27 ` peter
2020-01-23 14:08   ` clemc
2020-01-23 14:31     ` clemc
2020-01-23 15:51       ` doug [this message]
2020-01-25  0:09         ` bakul
2020-01-24  1:18   ` krewat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202001231551.00NFpVU4033383@tahoe.cs.Dartmouth.EDU \
    --to=coff@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).