Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #22951

Re: Misc Expansion, OS's, development and project proposals.

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: Misc Expansion, OS's, development and project proposals.
Date 2013-05-27 08:27 -0700
Organization Nightsong/Fort GNOX
Message-ID <7xppwcmohu.fsf@ruckus.brouhaha.com> (permalink)
References <cb5abbb0-fd29-4f28-836b-e7928a5afa9d@fz1g2000pbb.googlegroups.com> <b559e57a-8659-4bd5-8467-0c42e45bfcac@zo5g2000pbb.googlegroups.com>

Show all headers | View raw


Steve <nospam275@gmail.com> writes:
> for a small real time is called Tics.  It quoted something like 600
> byte footprint....  It is now 10k I read,

8k according to the url you gave.  It's a fairly fancy preemptive
RTOS but there are other ones around of comparable size.  My guess
is the 600 byte one was a simple cooperative task switcher.  There
are lots of those around too, in both C and Forth.  I think Forth
multitaskers have tended to be cooperative rather than preemptive,
but maybe someone knows of some preemptive ones.

> Now, if they can do that in 600 bytes or 10kb in c, how much more can
> be done on misc.  Be inspired.

I've never had the impression misc gave ultra-high code density, as
opposed to just keeping the hw implementation as simple as possible.
They keep programs small through the Chuck Moore philosophy of stripping
away features until only the bare essentials are left.  And in GA's
approach, you'd handle multitasking by putting each task on its own cpu
core, with true parallel execution.  There is also a coroutine switch
instruction in the F18 which is really simple and clever, if you can
arrange your program so that the right stuff is on both stacks when you
want to switch.

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


Thread

Re: Misc Expansion, OS's, development and project proposals. Steve <nospam275@gmail.com> - 2013-05-27 08:11 -0700
  Re: Misc Expansion, OS's, development and project proposals. Paul Rubin <no.email@nospam.invalid> - 2013-05-27 08:27 -0700
    Re: Misc Expansion, OS's, development and project proposals. rickman <gnuarm@gmail.com> - 2013-05-27 11:42 -0400
    Re: Misc Expansion, OS's, development and project proposals. Steve <nospam275@gmail.com> - 2013-05-30 08:37 -0700

csiph-web