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


Groups > comp.lang.forth > #52592

Re: I'm so conflicted...

Newsgroups comp.lang.forth
Date 2016-11-13 12:59 -0800
References (3 earlier) <61184b43-cfda-4863-a005-aca83e691954@googlegroups.com> <AJWdndJoT80BELrFnZ2dnUU7-cXNnZ2d@supernews.com> <9ec56433-8b65-48ae-8c64-bed9fdde93de@googlegroups.com> <ZtydnbR-JOvBkbXFnZ2dnUU7-L_NnZ2d@supernews.com> <87a8d3g35k.fsf@nightsong.com>
Message-ID <8b8098b3-385e-4c87-908d-e2858dfd1960@googlegroups.com> (permalink)
Subject Re: I'm so conflicted...
From Mikael Nordman <oh2aun@gmail.com>

Show all headers | View raw


On Sunday, November 13, 2016 at 11:06:17 AM UTC+2, Paul Rubin wrote:
> "Elizabeth D. Rather"  writes:
> > In polyFORTH, PAD was an offset from HERE...  having an individual PAD
> > for every task *avoids* re-entrancy problems... It is intended as a
> > convenience for user programs, to provide a re-usable temporary buffer
> > under the sole control of the application.
> 
> Why not let the user program ALLOT a chunk of memory for such purposes
> if it wants?  How much memory did those systems typically have?  I guess
> things are different now in that small systems have flash program
> memory, often leaving them with less ram (formerly called core) than the
> old small systems had.  I think of Forth on a MSP430G2553 (512 bytes
> ram) or even an Arduino (2k ram) and go "wow, 80 bytes for PAD is pretty
> costly".  Of course it's possible to declare an environmental dependency
> and shrink or eliminate PAD, but I don't understand why it's there in
> the first place.

This is what I do in FlashForth. Each task has a PAD of size zero at the end of its user area. It is up to the programmer to allot space for each instance of PAD.

PAD is there because of some historical reasons. I have never needed it myself.

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


Thread

I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-11 03:47 -0800
  I'm so conflicted... foxaudioresearch@gmail.com - 2016-11-11 04:37 -0800
  Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-11 05:29 -0800
    Re: I'm so conflicted... JUERGEN <epldfpga@aol.com> - 2016-11-11 05:33 -0800
    Re: I'm so conflicted... JUERGEN <epldfpga@aol.com> - 2016-11-11 05:35 -0800
    Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-11 20:02 -0500
      Re: I'm so conflicted... jim <anon@example.com> - 2016-11-12 10:59 +0000
        Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 11:21 -0500
          Re: I'm so conflicted... jim <anon@example.com> - 2016-11-12 21:30 +0000
            Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 23:18 -0500
              Re: I'm so conflicted... jim <anon@example.com> - 2016-11-13 12:28 +0000
                Re: I'm so conflicted... Paul Rubin <no.email@nospam.invalid> - 2016-11-13 10:50 -0800
                Re: I'm so conflicted... jim <anon@example.com> - 2016-11-13 19:14 +0000
                Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-13 23:11 -0500
                Re: I'm so conflicted... jim <anon@example.com> - 2016-11-14 09:44 +0000
        Re: I'm so conflicted... "Robert L." <No_spamming@noWhere_7073.org> - 2016-11-20 01:51 +0000
      Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 10:32 -0800
        Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 13:52 -0500
          Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 11:55 -0800
            Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 23:19 -0500
              Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-13 18:16 -0800
                Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-13 23:14 -0500
                Re: I'm so conflicted... jim <anon@example.com> - 2016-11-14 09:51 +0000
                Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-14 04:04 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-15 03:11 -0800
                Re: I'm so conflicted... "Robert L." <No_spamming@noWhere_7073.org> - 2016-11-20 23:50 +0000
        Re: I'm so conflicted... albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-11-12 20:11 +0100
  Re: I'm so conflicted... "HAA" <someone@microsoft.com> - 2016-11-12 00:34 +1100
  Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-11 16:19 -0800
    Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 10:34 -0800
      Re: I'm so conflicted... november.nihal@gmail.com - 2016-11-12 12:35 -0800
        Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-12 11:46 -1000
          Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-12 15:23 -0800
            Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-12 18:13 -0800
            Re: I'm so conflicted... rickman <gnuarm@gmail.com> - 2016-11-12 23:23 -0500
              Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-12 20:55 -1000
            Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-12 20:46 -1000
              Re: I'm so conflicted... Paul Rubin <no.email@nospam.invalid> - 2016-11-13 01:06 -0800
                Re: I'm so conflicted... Mikael Nordman <oh2aun@gmail.com> - 2016-11-13 12:59 -0800
                Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-13 18:27 -0800
                Re: I'm so conflicted... Mikael Nordman <oh2aun@gmail.com> - 2016-11-13 20:34 -0800
              Re: I'm so conflicted... Howerd <howerdo@yahoo.co.uk> - 2016-11-13 17:56 -0800
                Re: I'm so conflicted... "HAA" <someone@microsoft.com> - 2016-11-14 14:53 +1100
                Re: I'm so conflicted... "Elizabeth D. Rather" <erather@forth.com> - 2016-11-13 22:04 -1000
          Re: I'm so conflicted... albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-11-13 10:51 +0100
  Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-14 03:10 -0800
    Re: I'm so conflicted... "HAA" <someone@microsoft.com> - 2016-11-15 01:03 +1100
      Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-14 07:31 -0800
        Re: I'm so conflicted... foxaudioresearch@gmail.com - 2016-11-14 13:29 -0800
          Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-15 03:02 -0800
            Re: I'm so conflicted... albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-11-15 13:39 +0100
        Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-15 18:22 -0800
          Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-16 01:32 -0800
            Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-16 13:00 -0800
              Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-16 13:04 -0800
              Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-16 13:42 -0800
                Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-17 12:28 -0800
                Re: I'm so conflicted... Raimond Dragomir <raimond.dragomir@gmail.com> - 2016-11-17 22:14 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-19 15:01 -0800
                Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-19 16:55 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-20 10:36 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-20 10:43 -0800
                Re: I'm so conflicted... Paul Rubin <no.email@nospam.invalid> - 2016-11-20 11:15 -0800
                Re: I'm so conflicted... Mark Wills <markwills1970@gmail.com> - 2016-11-20 13:57 -0800
                Re: I'm so conflicted... Walter Banks <walter@bytecraft.com> - 2016-11-28 13:26 -0500
          Re: I'm so conflicted... Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2016-11-16 10:25 +0000
            Re: I'm so conflicted... hughaguilar96@gmail.com - 2016-11-16 12:33 -0800

csiph-web