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


Groups > comp.lang.forth > #134100

multitasking vs multiple interpreters

Path csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject multitasking vs multiple interpreters
Date Mon, 28 Jul 2025 11:36:59 -0700
Organization A noiseless patient Spider
Lines 14
Message-ID <871pq0uppw.fsf@nightsong.com> (permalink)
MIME-Version 1.0
Content-Type text/plain
Injection-Date Mon, 28 Jul 2025 18:37:00 +0000 (UTC)
Injection-Info dont-email.me; posting-host="003d05a27a46e636288a3f8d2408aa58"; logging-data="2395747"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aZDjspEF1CuilnwUnBQwS"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock sha1:S3PmUX/OyeBEOwsM8N1OAjC3Eps= sha1:VdUT52uLUl0xblAJ9kj7HmaklTo=
Xref csiph.com comp.lang.forth:134100

Show key headers only | View raw


Question is how to multitask on a small embedded target.  One way is the
traditional cooperative multitasker with a shared dictionary plus task
variables.

Another way is time slicing multiple interpreters, each with its own
data dictionary (all variables are task variables).  There would be a
shared read-only dictionary for code and constants, and a mailbox scheme
for IPC.

This question is more about shared vs non-shared than cooperative vs
preemptive.  The latter would be Erlang-style preemptive, i.e. avoiding
most locking hazards by using mailboxes instead of memory sharing.

Does anyone do it this way?  Is the overhead substantial?

Back to comp.lang.forth | Previous | NextNext 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