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


Groups > comp.lang.forth > #57967

Re: string-stack.4th

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: string-stack.4th
Date 2017-04-23 23:51 -0700
Organization A noiseless patient Spider
Message-ID <87lgqqnvry.fsf@nightsong.com> (permalink)
References (14 earlier) <xn0kosx1g3k40me003@nntp.aioe.org> <53d8fb40-e625-4c47-b09d-15663771fc9a@googlegroups.com> <xn0kov35o59u81h001@nntp.aioe.org> <b5320064-4394-4baa-b3fb-0a1228d32860@googlegroups.com> <odk2lc$eon$1@dont-email.me>

Show all headers | View raw


Ron Aaron <rambamist@gmail.com> writes:
> You can also do something like what OForth does, e.g. play magic with
> the pointers to the stack items so that the data pointer itself tells
> you what kind of item is on the stack.  That is (in my opinion) a
> dangerous path, but if used with restraint it works nicely.

If you mean Oforth uses aligned pointers and steal one or two bits for
tags, that's a very common technique and works well.  The SPARC
processor even had hardware support for that, which nobody seems to have
used.  If you mean the heap uses different regions for different object
types and figures out the type of a pointed-to object from its address,
that's another venerable technique called BIBOP ("big bag of pages")
though it was used mostly in older, smaller systems.

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


Thread

Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-15 16:54 -0700
  Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-15 19:55 -0700
    Re: string-stack.4th Julian Fondren <julian.fondren@gmail.com> - 2017-04-15 20:08 -0700
    Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-16 13:50 +0000
      Re: string-stack.4th anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-04-16 15:51 +0000
        Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-16 22:16 +0000
          Re: string-stack.4th anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-04-17 12:04 +0000
            Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-17 13:11 -0700
              Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-17 23:18 +0000
                Re: string-stack.4th albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-04-18 01:49 +0200
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-19 23:03 +0000
                Re: string-stack.4th "Elizabeth D. Rather" <erather@forth.com> - 2017-04-19 13:19 -1000
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-20 00:15 +0000
                Re: string-stack.4th "Elizabeth D. Rather" <erather@forth.com> - 2017-04-19 14:34 -1000
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-20 17:16 +0000
                Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-20 15:08 -0700
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-20 00:16 +0000
                Re: string-stack.4th albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-04-20 21:10 +0200
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-21 09:59 +0000
                Re: string-stack.4th albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-04-20 20:50 +0200
                Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-17 19:47 -0700
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-19 23:08 +0000
              Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-18 00:10 -0700
                Re: string-stack.4th Alex <alex@rivadpm.com> - 2017-04-18 13:48 +0100
                Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-18 09:15 -0700
                Re: string-stack.4th Alex <alex@rivadpm.com> - 2017-04-18 18:23 +0100
            Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-17 23:07 +0000
            Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-18 09:09 -0700
              Re: string-stack.4th lehs <skydda.barnen@gmail.com> - 2017-04-18 10:27 -0700
      Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-16 19:26 -0700
        Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-17 23:13 +0000
          Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-23 12:39 -0700
            Re: string-stack.4th Michael Barry <barrym95838@yahoo.com> - 2017-04-23 22:25 -0700
              Re: string-stack.4th foxaudioresearch@gmail.com - 2017-04-24 14:06 -0700
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-29 03:19 +0000
            Re: string-stack.4th Ron Aaron <rambamist@gmail.com> - 2017-04-24 08:35 +0300
              Re: string-stack.4th Paul Rubin <no.email@nospam.invalid> - 2017-04-23 23:51 -0700
                Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-24 00:10 -0700
                Re: string-stack.4th Ron Aaron <rambamist@gmail.com> - 2017-04-24 10:11 +0300
                Re: string-stack.4th Lars Brinkhoff <lars.spam@nocrew.org> - 2017-04-24 09:27 +0200
                Re: string-stack.4th Paul Rubin <no.email@nospam.invalid> - 2017-04-24 01:14 -0700
            Re: string-stack.4th Alex <alex@rivadpm.com> - 2017-04-24 14:38 +0100
            Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-29 03:18 +0000
            Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-29 03:27 +0000
              Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-28 22:13 -0700
                Re: string-stack.4th Alex <alex@rivadpm.com> - 2017-04-29 09:41 +0100
                Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-29 07:05 -0700
                Re: string-stack.4th "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-04-29 11:43 +0000
  Re: string-stack.4th hughaguilar96@gmail.com - 2017-04-15 21:15 -0700

csiph-web