Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: multitasking vs multiple interpreters Date: Mon, 28 Jul 2025 20:32:03 -0700 Organization: A noiseless patient Spider Lines: 7 Message-ID: <87wm7ru0y4.fsf@nightsong.com> References: <871pq0uppw.fsf@nightsong.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Tue, 29 Jul 2025 03:32:04 +0000 (UTC) Injection-Info: dont-email.me; posting-host="6bfddd629e6f21963500ec3650095570"; logging-data="2573272"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183+NRlaIdCZUKBqMP1K5CJ" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:lk+6J6qr18vVoWtzIR/pVXk4cfA= sha1:DuJVbk39j5gWXcjlEXEG14NBQsQ= Xref: csiph.com comp.lang.forth:134102 albert@spenarnc.xs4all.nl writes: > The other situation is that you take advantage of multiple cores > to speed up the calculation. There you use the fork system call. The idea here is to multitask on an MCU with around 2kB of memory, so no OS. Just a few tasks to monitor a pushbutton, control a LED, and some similar things.