comp.lang.ada
 help / color / mirror / Atom feed
From: bill@valiant.gmrc.gecm.com (R.A.L Williams)
Subject: An observation of Ada (may offend)
Date: 1995/03/30
Date: 1995-03-30T00:00:00+00:00	[thread overview]
Message-ID: <3ledip$a0f@miranda.gmrc.gecm.com> (raw)

In article <1995Mar28.120720.9512@eisner> Larry Kilgallen wrote:
  [deleted up to where I wrote...]
: > I agree that the representation clauses defined in the LRM are splendid,
: > the problem is that they are *optional*. I don't know what the situation
: > is now, but when I last did a lot of work in Ada many compilers had only
: > a fragmentary coverage. 

: Well, since the compiler _I_ use has them, who cares about the rest of
: you :-) :-) :-).

: Actually, if implementation of representation clauses was specified as
: optional (I cannot find that statement), the Ada83 author(s) presumably

LRM section 13.1 para 10:
"... An implementation may limit its acceptance of representation clauses
to those that can be handled simply by the underlying hardware. ..."

Now, in the old days, many compiler vendors treated this as a general cop-out.
I haven't bought an Ada compiler recently, so I don't know if this is still
the situation.

: felt they were hard to accomplishment and would require market pressure
: to cause implementation.  At least (unlike Pascal) the syntax for adding
: them is _standardized_, so once you have convinced your vendor, the
: implementation they provide will be compatible.

Yes, Pascal doesn't even have a *usable* standard. Every compiler I've come
across has vast numbers of incompatible extensions, little things like
separate compilation etc. (!)

ANSI C is standardized, but the standard is not explicit on the order
of bit fields within a structure.

The only ambiguity I know of in the Ada83 LRM is section 13.4, para 5, where
it says "...The first bit of a storage unit is numbered zero...." without
saying whether this is the MSB or the LSB (the same also goes for storage
units in a word of course).

: > Most of the time, as you say, bit fields are adequate, but how would you
: > implement ECC algorithms or maximal length sequence generators for instance?

: Larry Kilgallen

Bill Williams




             reply	other threads:[~1995-03-30  0:00 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-30  0:00 R.A.L Williams [this message]
1995-04-03  0:00 ` An observation of Ada (may offend) Norman H. Cohen
  -- strict thread matches above, loose matches on Subject: below --
1995-03-29  0:00 R.A.L Williams
1995-03-27 10:38 R.A.L Williams
1995-03-30  3:14 ` Michael D. Griffin
1995-03-30  0:00   ` David Weller
1995-04-04  0:00   ` Jack Beidler
1995-04-04  0:00   ` Brian Rogoff
1995-03-27 10:28 R.A.L Williams
1995-03-27  0:00 ` Norman H. Cohen
1995-04-04  0:00   ` Robert Dewar
1995-03-28 17:07 ` Larry Kilgallen, LJK Software
1995-03-17  9:27 R.A.L Williams
1995-03-17 15:23 ` Robb Nebbe
1995-03-17 17:08 ` Norman H. Cohen
1995-03-20  3:23   ` S. Tucker Taft
1995-03-20 10:13   ` Robb Nebbe
1995-03-21 21:05     ` Robert Dewar
1995-03-20 16:15   ` Robert I. Eachus
1995-03-21 19:47     ` Norman H. Cohen
1995-03-22  1:28       ` David Weller
1995-03-23  5:47       ` Robert Dewar
1995-03-23 16:38         ` Robert I. Eachus
1995-03-24 10:46           ` Peter Hermann
1995-03-24 16:52             ` David Weller
1995-03-26  4:03               ` Robert Dewar
1995-03-24 21:33             ` Tucker Taft
1995-03-27 18:58             ` Mark A Biggar
1995-03-24 19:45           ` Garlington KE
1995-03-27 19:58             ` Robert I. Eachus
1995-03-28 16:29               ` Garlington KE
1995-03-28 19:30                 ` Robert I. Eachus
1995-03-28 22:37                   ` Garlington KE
1995-03-29  8:31                   ` Robb Nebbe
1995-03-25 17:58           ` Robert Dewar
1995-03-26  6:20             ` R_Tim_Coslet
1995-03-27 20:38               ` Robert I. Eachus
1995-03-26  3:50           ` celier
     [not found]           ` <3l1lkq$pm6@gnat.csn <3l2o9a$3a1@infomatch.com>
1995-03-27 23:16             ` Robert Dewar
1995-03-23 18:05       ` John DiCamillo
1995-03-17 23:01 ` Larry Kilgallen, LJK Software
1995-03-18 12:41 ` Tucker Taft
1995-03-22 16:50 ` Renaud HEBERT
1995-03-23 23:23   ` John Volan
1995-03-24  0:38   ` Robert Dewar
1995-03-12 23:39 Matt Bruce
1995-03-13  0:34 ` David Weller
1995-03-14  4:49 ` Vladimir Vukicevic
1995-03-17 17:00   ` Michael Feldman
1995-03-17 13:09     ` Fred J. McCall
1995-03-18 20:34       ` Michael Feldman
1995-03-19 22:20         ` Robert Dewar
1995-03-20 17:19           ` Michael Feldman
1995-03-21 21:02             ` Robert Dewar
1995-03-21 23:01             ` Kevin F. Quinn
1995-03-22 12:43             ` Mike Meier
1995-03-20 20:38           ` Kevin F. Quinn
1995-03-21  3:02         ` Michael M. Bishop
1995-03-20  9:31       ` Robb Nebbe
1995-03-20 20:16       ` Mats Weber
1995-03-22 19:44       ` Stephen McNeill
1995-03-28 14:48       ` Wes Groleau
1995-03-22 17:20     ` Richard G. Hash
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox