comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen)
Subject: Re: Distributed system portability
Date: 30 Jul 2001 08:05:59 -0500
Date: 2001-07-30T08:05:59-05:00	[thread overview]
Message-ID: <UcONQxieKogX@eisner.encompasserve.org> (raw)
In-Reply-To: 3B654382.B885CE20@canal-plus.fr

In article <3B654382.B885CE20@canal-plus.fr>, Thierry Lelegard <thierry.lelegard@canal-plus.fr> writes:
>> Is it generally the case that a distributed system compiled on two
>> different architectures can talk to itself? In other words, if I write a
>> distributed system with GNAT, and I compile one portion on Windows and
>> another portion on Linux, are these two systems likely to talk to each
>> other? If not, are the stream formats likely to be compatible? If not,
>> is there a way to redefine the low-level stream operators for things
>> like Integer to ensure that the same format is used at both ends? Or do
>> I need to write translation routines to some architecture-independent
>> format?
> 
> In pratice, GNAT/GLADE seems to handle this (but I never used it).
> 
> In theory (although there is no other implementation of DSA than GLADE),
> there is absolutely no guarantee in the ARM about that. Interoperability
> is, in my opinion, the biggest hole in Ada95 and writing "open" software
> in Ada95 is much harder that it could have been if the default representation
> of streams were standardized.

When streams go to a file, wouldn't there be a problem with differences
between record-oriented file systems and bag-of-bytes oriented file
systems ?  While the distributed annex may be the topic of this
discussion, some may be more interested in making it possible
for their streams to be interpreted by other languages.

Or is the idea of streams that one should never try to access them
from a non-Ada language ?



  reply	other threads:[~2001-07-30 13:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-29 17:18 Distributed system portability Darren New
2001-07-30  8:00 ` Pascal Obry
2001-07-31  7:23   ` Frank
2001-07-31 16:35     ` Pascal Obry
2001-07-30 11:22 ` Thierry Lelegard
2001-07-30 13:05   ` Larry Kilgallen [this message]
2001-07-30 16:12     ` Thierry Lelegard
2001-07-30 21:39       ` Ted Dennison
2001-07-30 22:28         ` tmoran
2001-07-31 17:36           ` Ted Dennison
2001-07-31 18:15             ` tmoran
2001-07-31 18:55               ` Marin David Condic
2001-07-31 20:26               ` Ted Dennison
2001-07-31  7:44         ` Ole-Hjalmar Kristensen
2001-07-30 15:57 ` Marin David Condic
2001-07-30 17:17   ` Darren New
replies disabled

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