comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Ada and Internet stuff
Date: Fri, 31 Aug 2001 09:34:31 -0400
Date: 2001-08-31T13:34:33+00:00	[thread overview]
Message-ID: <9mo3p9$22t$1@nh.pace.co.uk> (raw)
In-Reply-To: VNCj7.33150$sa.16737236@news1.rdc1.sfba.home.com

My ARM says: "type Stream_Element is mod implementation-defined;" which
would seem to suggest that an implementation is free to do anything they
please. I think it would be foolish to use anything other than a size that
lines up with your memory units and/or communications hardware and I'd be
willing to bet a fair amount of money that the majority of Ada
implementations are going to use 8-bit bytes for this.

I could see reasons why an implementation might want to make Stream_Element
8-bits no matter what the internal storage unit size is. Streams are going
to get used primarily for two things: Data in files and data along
communication links. The bulk of that is going to be in 8-bit bytes, given
the common trend in hardware. So I doubt there is any expressed or implied
relationship between Stream_Element and Storage_Unit.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


<tmoran@acm.org> wrote in message
news:VNCj7.33150$sa.16737236@news1.rdc1.sfba.home.com...
> Dealing with Stream_Element'size /= 8 raises the question: Is there
> any required relationship between System.Storage_Unit (used in
> record rep clause) and Stream_Element'size?





  parent reply	other threads:[~2001-08-31 13:34 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-24 19:22 Ada and Internet stuff Darren New
2001-08-24 19:39 ` Ted Dennison
2001-08-24 20:30   ` Pascal Obry
2001-08-24 22:03     ` Ehud Lamm
2001-08-26 15:52       ` David Botton
2001-08-26 20:32         ` Pascal Obry
2001-08-27  1:40           ` David Botton
2001-08-27  6:31             ` Ehud Lamm
2001-08-24 20:32 ` Pascal Obry
2001-08-24 23:36   ` Darren New
2001-08-24 20:39 ` Larry Kilgallen
2001-08-24 22:08 ` Marc A. Criley
2001-08-25  7:07   ` Pascal Obry
2001-08-27  1:49 ` tmoran
2001-08-27 11:04   ` Tarjei T. Jensen
2001-08-27 11:28     ` Ehud Lamm
2001-08-27 20:09       ` Pascal Obry
2001-08-27 23:10   ` David Botton
2001-08-29  5:52     ` tmoran
2001-08-29 16:28       ` Darren New
2001-08-29 17:12         ` David Botton
2001-08-29 17:32         ` Ted Dennison
2001-08-29 18:51         ` tmoran
2001-08-29 19:00           ` Darren New
2001-08-29 19:53             ` tmoran
2001-08-29 20:03               ` Darren New
2001-08-29 20:08           ` Ted Dennison
2001-08-30  7:08             ` tmoran
2001-08-31  2:39               ` tmoran
2001-08-31 13:34                 ` Ted Dennison
2001-08-31 13:46                   ` Marin David Condic
2001-08-31 17:37                     ` tmoran
2001-08-31 17:59                       ` Marin David Condic
2001-09-01 17:56                         ` tmoran
2001-08-31 13:34                 ` Marin David Condic [this message]
2001-08-31 17:52                   ` Ted Dennison
2001-08-31 18:09                     ` Marin David Condic
2001-08-31  2:53               ` compile time Least Common Multiple, was " tmoran
2001-08-31 13:43                 ` Ted Dennison
2001-08-31 17:37                   ` tmoran
2001-08-31 18:08                     ` Ted Dennison
replies disabled

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