From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY,PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b9c9ba98cff47596 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Message passing code Date: 1999/06/25 Message-ID: <7l0s5k$g32$1@nnrp1.deja.com>#1/1 X-Deja-AN: 493890946 References: <7ksh2u$e1e2@svlss.lmms.lmco.com> <7ktlts$a7g$1@nnrp1.deja.com> <3772AD75.F5E8AAED@hiwaay.net> <7l0gj5$b62$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x23.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Fri Jun 25 21:26:24 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-06-25T00:00:00+00:00 List-Id: In article <7l0gj5$b62$1@nnrp1.deja.com>, Jim Rogers wrote: > In article <3772AD75.F5E8AAED@hiwaay.net>, > Bruce or Tracy wrote: > > At work, we are currently using Ada.Stream. This is > > the mechanism for (at least parts of) HLA (High > > Level Architecture) where separate simulations > > communicate via a Run Time Infrastructure package. > > Ada.Streams is a very good tool. It is not, however, a standard > beyond the world of Ada. Ada.Streams is a tool for converting > between a binary data stream and internal Ada object representation. > The binary data stream format must still be "standardized", or > at least agreed upon by all applications cooperating in a > communication community. That's true. In fact, I don't think it is even guaranteed to work between different platforms or compilers. You don't know what Ada.Streams.Stream_Element is, or how big it is. Unless you write it yourself, you don't know how your stream is implemented or how data gets placed in it. Encryption or compression could be going on, for all you know. Unless you write them yourself, you don't know how 'Read and 'Write are converting between your objects and stream elements. -- T.E.D. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.