comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Using representation clauses in networking software
Date: Sun, 15 Aug 2010 16:58:16 +0100
Date: 2010-08-15T16:58:16+01:00	[thread overview]
Message-ID: <m2k4nruauf.fsf@pushface.org> (raw)
In-Reply-To: 8739ugqfeb.fsf@mid.deneb.enyo.de

Florian Weimer <fw@deneb.enyo.de> writes:

> Have there been any efforts to fix representation clauses so that they
> are suitable for expressing elements commonly found in networking
> protocols?
>
> My understanding is that representation clauses are totally unsuitable
> for this purpose because they do not allow the programmer to express
> endianness.  I dimly recall a technical report which argued that
> expressing endianness portably was impossible.  However, Erlang's bit
> syntax seems to be a counterexample, so I wonder if that issue has
> been picked up in recent years.

I haven't tried it but
.. http://www.adaic.com/standards/05rm/html/RM-13-5-3.html



  parent reply	other threads:[~2010-08-15 15:58 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15 11:33 Using representation clauses in networking software Florian Weimer
2010-08-15 13:44 ` Yannick Duchêne (Hibou57)
2010-08-15 14:32   ` Dmitry A. Kazakov
2010-08-15 14:44     ` Florian Weimer
2010-08-15 15:04       ` Dmitry A. Kazakov
2010-08-15 15:32         ` Florian Weimer
2010-08-15 16:10           ` Dmitry A. Kazakov
2010-08-15 16:40             ` Yannick Duchêne (Hibou57)
2010-08-15 17:58               ` Dmitry A. Kazakov
2010-08-15 19:11                 ` Shark8
2010-08-15 19:15                 ` Simon Wright
2010-08-15 20:25                   ` Maciej Sobczak
2010-08-15 21:24                     ` Simon Wright
2010-08-16  6:40                     ` Dmitry A. Kazakov
2010-09-04 20:46                     ` Florian Weimer
2010-08-15 15:39         ` Yannick Duchêne (Hibou57)
2010-08-15 15:31       ` Yannick Duchêne (Hibou57)
2010-08-15 15:30     ` Yannick Duchêne (Hibou57)
2010-08-15 16:10       ` Dmitry A. Kazakov
2010-08-16 10:57     ` Stephen Leake
2010-08-15 15:58 ` Simon Wright [this message]
2010-08-15 16:03   ` Florian Weimer
2010-08-17  3:32     ` Randy Brukardt
2010-08-16  9:12 ` anon
replies disabled

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