comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen)
Subject: Re: Question about "for X'Size use ..."
Date: 10 Aug 2001 05:36:22 -0500
Date: 2001-08-10T05:36:22-05:00	[thread overview]
Message-ID: <dsGwyS7sA3+2@eisner.encompasserve.org> (raw)
In-Reply-To: 871ymk480x.fsf@deneb.enyo.de

In article <871ymk480x.fsf@deneb.enyo.de>, Florian Weimer <fw@deneb.enyo.de> writes:
> dewar@gnat.com (Robert Dewar) writes:
> 
>>> There is no effect because the stream operations operate on the base
>>> type, and you can't specify the size of a base type.
>>
>> This is incorrect, please see the latest AI on this topic
> 
> AI 270 is not a mere clarification, it changes the semantics of the
> Ada language.  I don't think these become part of the language
> automatically.
> 
> (I think that AI 270 is pointless.  Stream_Size won't give any
> additional portability unless the order of stream elements can be
> controlled, and the method of storing the sign, and the situations
> were the range of type neither is not symmetric around zero.)

I have not worked with streams, but was wondering if anyone had tried
using ASN.1 to achieve interoperability.  It solves endian problems
and the DER representation is rather firm about "only one way to express
something".

It seems to me that Ada folk should be willing to build on existing
standards, where suitable.



  reply	other threads:[~2001-08-10 10:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-09 17:02 Question about "for X'Size use ..." Darren New
2001-08-09 17:37 ` Florian Weimer
2001-08-09 22:39   ` Robert Dewar
2001-08-10  8:46     ` Florian Weimer
2001-08-10 10:36       ` Larry Kilgallen [this message]
2001-08-10 13:15         ` Question about Ted Dennison
2001-08-10 13:54           ` Larry Kilgallen
2001-08-10 17:09         ` Question about "for X'Size use ..." Robert Dewar
2001-08-10 17:11       ` Robert Dewar
2001-08-10 20:25         ` Florian Weimer
2001-08-10 21:43           ` Larry Kilgallen
2001-08-10 20:58             ` Toshitaka KUMANO
2001-08-10 14:46 ` john mann
replies disabled

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