Re: Thou shalt have no other gods before the ANSI C standard

From: Roger Schlafly (rogersc1_at_mindspring.com)
Date: 02/08/05


Date: Tue, 8 Feb 2005 08:14:05 -0800


"CBFalconer" <cbfalconer@yahoo.com> wrote:
> The majority of machines do fit the 8 bit byte power of 2 sized
> integer description. But not all.

Yes, all machines that were designed at a time that anyone here
can remember. You'd have to visit a museum to find a computer
that does not match that description.

> At the same time there is no
> need whatsoever to impose those restrictions on most code. So the
> advice to make such assumptions is inherently bad, and causes more
> non-portable trouble making code to be created.

No, it is not bad. Chances are that you'll just introduce bugs trying
to make your code portable, and you will never port to one of those
museum computers anyway.



Relevant Pages

  • Re: Thou shalt have no other gods before the ANSI C standard
    ... all machines that were designed at a time that anyone here ... Heh heh ... ... Chances are that you'll just introduce bugs trying ... > museum computers anyway. ...
    (sci.crypt)
  • Re: malloc + 4??
    ... CBFalconer wrote: ... on machines with an 11 bit byte and ... But in civilised countries, which are not actively trying to make their ... national deficit look larger, ...
    (comp.lang.c)