From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Announce: OpenToken 2.0 released
Date: 2000/02/17
Date: 2000-02-17T00:00:00+00:00 [thread overview]
Message-ID: <wccbt5fg02r.fsf@world.std.com> (raw)
In-Reply-To: t7u2j7btg0.fsf@calumny.jyacc.com
Hyman Rosen <hymie@prolifics.com> writes:
> Apropos of this, I recall more than one thread here on c.l.a where
> Robert Dewar says that one can legitimately make "ordinary platform"
> assumptions when programming in Ada. That is, one does not read the
> A.R.M. or treat the compiler as if they are the enemy and thwarting
> you at every turn.
True, but it's not always completely clear what assumptions are
reasonable. For example, you might reasonably decide that your program
will be portable only to 8-bit-byte-addressable machines, whereas
standard libraries perhaps ought to be more portable than that.
If the *hardware* insists that the smallest integer type is 32 bits,
then is it unreasonable for the C implementation to read 32-bit
quantities? Surely, if char and int are the same size (say, 32 bits), I
should be allowed to write out the number -1, or 2**31-1, or 1_000_000!
And surely if I can write it out, I should be able to read it back in.
>... Conceivably a compiler for any language can be
> implemented to stick to the letter of its Standard but still be as
> useless as possible, but then you have the choice of not using it.
- Bob
next prev parent reply other threads:[~2000-02-17 0:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-27 0:00 Announce: OpenToken 2.0 released Ted Dennison
2000-01-28 0:00 ` Jürgen Pfeifer
2000-01-28 0:00 ` Ted Dennison
2000-01-31 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Ted Dennison
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` David Starner
2000-02-01 0:00 ` Brian Rogoff
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Brian Rogoff
2000-02-02 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Jeff Carter
2000-02-02 0:00 ` Vladimir Olensky
2000-02-01 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Ted Dennison
2000-02-04 0:00 ` Ted Dennison
2000-02-05 0:00 ` Ehud Lamm
2000-02-04 0:00 ` Florian Weimer
2000-02-07 0:00 ` Hyman Rosen
2000-02-07 0:00 ` Florian Weimer
2000-02-07 0:00 ` Hyman Rosen
2000-02-09 0:00 ` Robert A Duff
2000-02-09 0:00 ` Hyman Rosen
2000-02-09 0:00 ` Larry Kilgallen
2000-02-17 0:00 ` Robert A Duff
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Robert A Duff [this message]
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Robert A Duff
[not found] ` <88iuk2$s6d3@ftp.kvaerner.com>
2000-03-05 0:00 ` [OT] C and in-band signalling (was: Re: Announce: OpenToken 2.0 released) Florian Weimer
2000-03-06 0:00 ` Tarjei T. Jensen
2000-03-06 0:00 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox