comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: Simple Data Endianness
Date: Fri, 14 Feb 2020 08:52:57 -0800 (PST)
Date: 2020-02-14T08:52:57-08:00	[thread overview]
Message-ID: <5287ee89-29ca-4c88-8b0b-c307e1933716@googlegroups.com> (raw)
In-Reply-To: <2a19cdb1-6f01-4b1d-8597-b6ee21ed60ed@googlegroups.com>

On Thursday, February 13, 2020 at 2:42:14 AM UTC-7, guijarroc...@gmail.com wrote:
> Hi, 
> 
> 
> The problem I present today is related to the coexistence between big-endian and little-endian application data.

I think this depends on the use-case of the software. If everything is going to be Ada, I think all you need is to DSA things. -- See: https://video.fosdem.org/2020/AW1.125/ada_distribution.webm

You can also configure PolyORB to be both DSA and CORBA, IIRC. So, even if you can't directly distribute to the various architectures (which I would be surprised about) you *could* let CORBA handle the remote-calls/translations if you are going to use this with extant non-Ada software (assuming that there's an easily integrable CORBA there).

But if this is integrating new Ada into already extant [distributed] systems, you should take a look at how they're handling the communications. If it's something like UDP then your best bet is probably to go in and create the custom datagram packets yourself, if it's ASN.1 based communications then [IIRC] you can use this: https://www.thanassis.space/asn1.html

----
There's also the boring case of "reading/writing a binary file" -- if this is the case then you could probably do things via these representation clauses and stream attributes.

      parent reply	other threads:[~2020-02-14 16:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13  9:42 Simple Data Endianness guijarrockguijarro
2020-02-13 11:10 ` Dmitry A. Kazakov
2020-02-13 15:12   ` Optikos
2020-02-13 15:28     ` Dmitry A. Kazakov
2020-02-13 16:47       ` Optikos
2020-02-13 17:29         ` Dmitry A. Kazakov
2020-02-13 20:36           ` Optikos
2020-02-14  8:20             ` Dmitry A. Kazakov
2020-02-14 17:25               ` Optikos
2020-02-14 20:22                 ` Dmitry A. Kazakov
2020-02-15 14:56                   ` Optikos
2020-02-13 15:44 ` Daniel
2020-02-13 15:57   ` Dmitry A. Kazakov
2020-02-14 16:52 ` Shark8 [this message]
replies disabled

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