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


Groups > comp.lang.forth > #32184

Re: Purpose of the ANS Forth Standard

From rickman <gnuarm@gmail.com>
Newsgroups comp.lang.forth
Subject Re: Purpose of the ANS Forth Standard
Date 2014-07-03 19:29 -0400
Organization A noiseless patient Spider
Message-ID <lp4p0d$2st$1@dont-email.me> (permalink)
References (1 earlier) <8049738e-5524-4eab-8950-89bb392b1033@googlegroups.com> <lp4611$r3a$1@dont-email.me> <8f843809-e144-44e9-92ae-a607787d18a6@googlegroups.com> <lp4glt$8lr$1@dont-email.me> <d4c84e21-eac6-43fa-8153-c332146b95b0@googlegroups.com>

Show all headers | View raw


On 7/3/2014 6:20 PM, Roger Levy wrote:
>
>> But then maybe I don't know the issues.
>
> It's not an issue with pointers, enums, flags, and most array indices.  It becomes an issue with overflow and underflow when doing math on measurements, quantities, trigonometry etc.  Unless you code for the case of different cell widths, this is an easy thing to screw up.  I used 16.16 fixed point in my games, and worse I don't encapsulate things to be agnostic of the cell width so it wouldn't stand a chance on a 16-bit platform without a backwards-incompatible rewrite.  It doesn't matter though; I have no intention of ever using this toolbelt for anything but 32-bit platforms.

Ok, you made a decision to require a minimum of 32 bit words.  So you 
have an environmental dependency for that.  I said that other than data 
fitting in the cell size - which is too obvious a limitation for anyone 
to ignore - what are the issues?

-- 

Rick

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


Thread

Purpose of the ANS Forth Standard rickman <gnuarm@gmail.com> - 2014-07-02 12:18 -0400
  Re: Purpose of the ANS Forth Standard bruce.mcfarling@gmail.com - 2014-07-02 10:11 -0700
  Re: Purpose of the ANS Forth Standard Roger Levy <roger.levy@gmail.com> - 2014-07-03 09:33 -0700
    Re: Purpose of the ANS Forth Standard Roger Levy <roger.levy@gmail.com> - 2014-07-03 09:39 -0700
      Re: Purpose of the ANS Forth Standard albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-07-03 17:12 +0000
        Re: Purpose of the ANS Forth Standard Roger Levy <roger.levy@gmail.com> - 2014-07-03 10:52 -0700
          Re: Purpose of the ANS Forth Standard bruce.mcfarling@gmail.com - 2014-07-03 11:53 -0700
    Re: Purpose of the ANS Forth Standard rickman <gnuarm@gmail.com> - 2014-07-03 14:05 -0400
      Re: Purpose of the ANS Forth Standard Roger Levy <roger.levy@gmail.com> - 2014-07-03 11:48 -0700
        Re: Purpose of the ANS Forth Standard bruce.mcfarling@gmail.com - 2014-07-03 11:55 -0700
        Re: Purpose of the ANS Forth Standard rickman <gnuarm@gmail.com> - 2014-07-03 17:07 -0400
          Re: Purpose of the ANS Forth Standard Roger Levy <roger.levy@gmail.com> - 2014-07-03 15:20 -0700
            Re: Purpose of the ANS Forth Standard rickman <gnuarm@gmail.com> - 2014-07-03 19:29 -0400
          Re: Purpose of the ANS Forth Standard bruce.mcfarling@gmail.com - 2014-07-03 15:23 -0700
            Re: Purpose of the ANS Forth Standard rickman <gnuarm@gmail.com> - 2014-07-04 14:35 -0400
              Re: Purpose of the ANS Forth Standard "Elizabeth D. Rather" <erather@forth.com> - 2014-07-04 09:24 -1000
              Re: Purpose of the ANS Forth Standard bruce.mcfarling@gmail.com - 2014-07-04 19:32 -0700
        Re: Purpose of the ANS Forth Standard anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-07-04 14:19 +0000
    Re: Purpose of the ANS Forth Standard "Elizabeth D. Rather" <erather@forth.com> - 2014-07-03 14:50 -1000

csiph-web