The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: doug@cs.dartmouth.edu (Doug McIlroy)
Subject: [TUHS] long lived programs (was Re: RIP John Backus
Date: Thu, 22 Mar 2018 22:53:53 -0400	[thread overview]
Message-ID: <201803230253.w2N2rr6O005722@tahoe.cs.Dartmouth.EDU> (raw)

"The only thing I can think of is to use have programs that
translate programs in todays languages to a common but very
simple universal language for their "long term storage". May
be something like Lamport's TLA+? A very tough job.
"

Maybe not so hard. An existence proof is Brenda Baker's "struct",
which was in v7. It converted Fortran to Ratfor (which of course
turned it back to Fortran). Interestingly, authors found their
completely reorganized code easier to read than what they had
written in the first place. 

Her big discovery was a canonical form--it was not a matter of
taste or choice how the code got rearranged.

It would be harder to convert the code to say, Matlab,
because then you'd have to unravel COMMON statements and
format strings. It's easy to cook up nasty examples, like
getting away with writing behyond the end of an array, but
such things are rare in working code.

Doug


             reply	other threads:[~2018-03-23  2:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-23  2:53 Doug McIlroy [this message]
2018-03-23 18:27 ` Bakul Shah
2018-03-23 20:50   ` [TUHS] long lived programs Steve Johnson
2018-03-23 21:07     ` Clem Cole
  -- strict thread matches above, loose matches on Subject: below --
2018-03-17 22:27 [TUHS] RIP John Backus Steve Johnson
2018-03-22 21:05 ` [TUHS] long lived programs (was " Bakul Shah
2018-03-22 21:35   ` Clem Cole
2018-03-23 19:28     ` Bakul Shah
2018-03-23 19:44       ` Larry McVoy
2018-03-23 21:23       ` Clem Cole
2018-03-23 21:36         ` Warner Losh
2018-03-23 22:02           ` Steve Johnson
2018-03-26 13:43       ` Tim Bradshaw
2018-03-26 16:19         ` Paul Winalski
2018-03-26 16:41           ` Arthur Krewat
2018-03-26 19:53             ` Larry McVoy
2018-03-27  1:08           ` Clem Cole
2018-03-26 19:04         ` Bakul Shah
2018-03-27  1:21         ` Steve Johnson
2018-03-27  1:46           ` Clem Cole
2018-03-23 10:43   ` Tim Bradshaw

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=201803230253.w2N2rr6O005722@tahoe.cs.Dartmouth.EDU \
    --to=doug@cs.dartmouth.edu \
    /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).