Groups | Search | Server Info | Login | Register
Groups > comp.lang.forth > #134112
| From | Ivan Shmakov <ivan@siamics.netREMOVE.invalid> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: multitasking vs multiple interpreters |
| Date | 2025-08-09 14:37 +0000 |
| Organization | Dbus-free station. |
| Message-ID | <04hvMHZPzRBoG_BT@violet.siamics.net> (permalink) |
| References | <871pq0uppw.fsf@nightsong.com> <nnd$36fa8656$3dede2e2@f9f97ec4bf262c4d> <87wm7ru0y4.fsf@nightsong.com> |
>>>>> On 2025-07-29, Paul Rubin wrote: >>>>> 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. That depends on the OS definition in use. Contiki (say, [1]) positioned itself as an OS, and it /did/ run on AVR MCUs. (Though I only have experience with it on STM32F4 myself.) [1] http://en.wikipedia.org/wiki/Contiki > Just a few tasks to monitor a pushbutton, control a LED, and some > similar things. My /guess/ is that time-slicing multiple interpreters will result in higher "save state / restore state" overhead overall. In any case, Contiki's cooperative multitasking / scheduling might be worth taking a look at. HTH.
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
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