comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <mcondic.auntie.spam@acm.org>
Subject: Re: Newbee question
Date: Mon, 16 Dec 2002 08:28:01 -0500
Date: 2002-12-16T13:28:22+00:00	[thread overview]
Message-ID: <atkkdm$ctl$1@slb9.atl.mindspring.net> (raw)
In-Reply-To: 3dfdab08.5187148@news.demon.co.uk

John McCabe <john@nospam.demon.co.uk> wrote in message
news:3dfdab08.5187148@news.demon.co.uk...
>
> I wouldn't have put it that way - you have far more control over data
> representations than you have in C or C++. Record representation
> clauses (as long as the compiler supports them) are very well defined.
> In C and C++ bit-fields are a bit of a hit and miss affair.
>
Yes, but when the compiler rejects valid representation clauses simply
because it doesn't want to do it that way, you're back to picking the bits
apart out of a byte array just like you would with C or C++. Or if the
language doesn't give you a means of expressing a representation for some of
the features (How do you control where the tag goes in a tagged record so
you can effectively control the placement of everything else?) you're stuck
once again.

Ada has some really nice syntax for controlling representation - but all of
that is totally useless the instant the compiler starts rejecting it for
even *some* of the cases.

MDC
--
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/

Send Replies To: m c o n d i c @ a c m . o r g

    "I'd trade it all for just a little more"
        --  Charles Montgomery Burns, [4F10]
======================================================================






  reply	other threads:[~2002-12-16 13:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-14 15:16 Newbee question Eric Robert
2002-12-14 20:10 ` Jeffrey Carter
2002-12-15  1:49   ` Eric Robert
2002-12-15  4:04     ` James S. Rogers
2002-12-16 10:32       ` John McCabe
2002-12-16 13:28         ` Marin David Condic [this message]
2002-12-17  0:31           ` Randy Brukardt
2002-12-17 15:24             ` Marin David Condic
2002-12-19 10:32               ` Ole-Hjalmar Kristensen
2002-12-15  7:57     ` Pascal Obry
2002-12-15 10:06     ` Jerry van Dijk
2002-12-15 19:04       ` Michal Nowak
2002-12-16 10:33         ` John McCabe
2002-12-16  0:47     ` Eric Robert
2002-12-17  3:23       ` Bill Findlay
2002-12-16 10:28     ` John McCabe
2002-12-17  2:36       ` Eric Robert
2002-12-17  3:24         ` Bill Findlay
2002-12-18  9:37         ` John McCabe
replies disabled

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