Computer Old Farts Forum
 help / color / mirror / Atom feed
From: Adam Thornton <athornton@gmail.com>
To: Larry McVoy <lm@mcvoy.com>, COFF <coff@tuhs.org>
Subject: [COFF] Re: [TUHS] Porting the SysIII kernel: boot, config & device drivers
Date: Sun, 1 Jan 2023 10:21:38 -0700	[thread overview]
Message-ID: <4000BF98-1847-4935-A7B4-D20322C543CF@gmail.com> (raw)
In-Reply-To: <20230101014054.GD5825@mcvoy.com>


> On Dec 31, 2022, at 6:40 PM, Larry McVoy <lm@mcvoy.com> wrote:
> 
> All true except for the Forth choice.  It's as bad, maybe worse, as 
> choosing Tcl for your language.  I've written a ton of Tcl but I
> need the Tk GUI part so I put up with Tcl to get it.  I'd never 
> push Tcl as a language that other people had to use.  Same thing
> with Forth.
> 
> I dunno what I'd pick, Perl in the old days, Python now (not that
> I care for Python but everyone can program it).  Just pick something
> that is trivial for someone to pick up.


(Moved to COFF) 

I rather like FORTH.  Its chief virtues are that it is both tiny and extensible.  It was developed as a telescope control language, as I recall, and in highly constrained environments gives you a great deal of expressivity for a teeny tiny bit of interpreter code.  I adored my HP 28S and still do: that was Peak Calculator, and its UI is basically a FORTH interpreter (which also, of course, functions just fine as an RPN calculator if you don't want to bother with flow control constructs).

But I also make the slightly more controversial claim that FORTH is just LISP stood up on end.

These days I think the right choice for those sorts of applications would be Micropython.  Yes, a full-on Python interpreter is heavyweight, but Micropython gives you a lot of functionality in (comparatively) little space.  It runs fine on a $4 Pi Pico, for instance, which has IIRC 256KB RAM.

And if you find yourself missing TCL, there's always Powershell, which is like what would happen if bash and TCL had a really ugly baby that just wouldn't shut up.  The amazing thing is that access to all the system DLLs makes it *almost* worth putting up with Powershell.

Adam

       reply	other threads:[~2023-01-01 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <335F89A9-30C2-41A2-8E84-C2D761746634@planet.nl>
     [not found] ` <CAEoi9W4Np=Z80NdO60x4rEPY6qKaRKYq81aCZxLXX2LAD-9iCA@mail.gmail.com>
     [not found]   ` <CAC20D2O-fUbrCuvvzEj2Z4b2kV+J6TApYdBeMcWvPEADN-nL7w@mail.gmail.com>
     [not found]     ` <CAEoi9W4_ZwOst9yo2GiM4qO4EwapEFia9X7kDZjwQUuhxaEVVw@mail.gmail.com>
     [not found]       ` <CAC20D2NpQdY+oRj-qK45=LR6GuLR3w7ZVmu9SWBd4s6v_Mvepw@mail.gmail.com>
     [not found]         ` <alpine.BSF.2.21.9999.2301011017150.95173@aneurin.horsfall.org>
     [not found]           ` <CAKzdPgzcPVdm_x+WxG7VpssNY7fbr-c2S1ax4S9UOgPPDapOrQ@mail.gmail.com>
     [not found]             ` <CAKr6gn1b=JoNm-9a3iPrHr4QeOzLGFD=Zy6E47YXi6fX4ZGoaA@mail.gmail.com>
     [not found]               ` <20230101014054.GD5825@mcvoy.com>
2023-01-01 17:21                 ` Adam Thornton [this message]
2023-01-01 17:33                   ` Lars Brinkhoff
     [not found]       ` <Y7C50dGWZ6yFDX74@mit.edu>
     [not found]         ` <DBC89F53-9A0A-4B34-A627-A9CFF5013EC3@planet.nl>
     [not found]           ` <20230101212609.yjg2poiggil7pwat@illithid>
2023-01-02  9:37             ` [COFF] " Ralph Corderoy

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=4000BF98-1847-4935-A7B4-D20322C543CF@gmail.com \
    --to=athornton@gmail.com \
    --cc=coff@tuhs.org \
    --cc=lm@mcvoy.com \
    /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).