Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.forth > #134109

Re: multitasking vs multiple interpreters

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: multitasking vs multiple interpreters
Date 2025-07-29 15:06 -0700
Organization A noiseless patient Spider
Message-ID <87seietzwn.fsf@nightsong.com> (permalink)
References <871pq0uppw.fsf@nightsong.com> <2025Jul29.094901@mips.complang.tuwien.ac.at>

Show all headers | View raw


anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> Concerning the idea of replicating all variables and buffers in each
> task, that seemed too expensive in memory for Gforth

No no, they wouldn't be replicated.  Each task would have its very own
data dictionary with its own variables.  Immutable data like code and
constants could be shared, but even then, that sharing wouldn't be
apparent to the application code.

There are actually a couple of applications I'm considering this for.
One is a flashlight (toykeeper.net/anduril) using a small MCU.  The
other is a battery controller, whose CPU is probably larger, but I don't
know at the moment what it is.  Both applications are written in C (not
by me) and the idea is to extend them with a small Forth.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

multitasking vs multiple interpreters Paul Rubin <no.email@nospam.invalid> - 2025-07-28 11:36 -0700
  Re: multitasking vs multiple interpreters albert@spenarnc.xs4all.nl - 2025-07-28 23:09 +0200
    Re: multitasking vs multiple interpreters Paul Rubin <no.email@nospam.invalid> - 2025-07-28 20:32 -0700
      Re: multitasking vs multiple interpreters minforth <minforth@gmx.net> - 2025-07-29 06:03 +0200
      Re: multitasking vs multiple interpreters Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-08-09 14:37 +0000
  Re: multitasking vs multiple interpreters anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2025-07-29 07:49 +0000
    Re: multitasking vs multiple interpreters albert@spenarnc.xs4all.nl - 2025-07-29 11:06 +0200
    Re: multitasking vs multiple interpreters Paul Rubin <no.email@nospam.invalid> - 2025-07-29 15:06 -0700
    Re: multitasking vs multiple interpreters Buzz McCool <buzz_mccool@yahoo.com> - 2025-08-11 10:12 -0700
      Re: multitasking vs multiple interpreters anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2025-08-11 17:49 +0000
        Re: multitasking vs multiple interpreters albert@spenarnc.xs4all.nl - 2025-08-12 13:14 +0200
          Re: multitasking vs multiple interpreters Paul Rubin <no.email@nospam.invalid> - 2025-08-12 09:45 -0700
            Re: multitasking vs multiple interpreters albert@spenarnc.xs4all.nl - 2025-08-13 11:23 +0200
              Re: multitasking vs multiple interpreters Paul Rubin <no.email@nospam.invalid> - 2025-08-13 09:12 -0700
          Re: multitasking vs multiple interpreters minforth <minforth@gmx.net> - 2025-08-13 13:55 +0200
          Re: multitasking vs multiple interpreters Stephen Pelc <stephen@vfxforth.com> - 2025-08-14 09:43 +0000

csiph-web