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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e61c8636ef35379d X-Google-Attributes: gid103376,public From: "Randy Brukardt" Subject: Re: Ada Streams usage (was Escape Sequences in Strings) Date: 2000/11/21 Message-ID: #1/1 X-Deja-AN: 696348991 References: <3A17B0E2@MailAndNews.com> <3A129A89.1B69E2FE@acm.org> <3A13D59E.63A6F92@earthlink.net> <3A168546.89CA38F7@acm.org> <3A177878.AD747325@telepath.com> <3A182633.BDE82EA9@acm.org> <8v9lip$2dr$1@nnrp1.deja.com> <8vcjcc$e09$1@nnrp1.deja.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: abuse@alpha.net X-Trace: homer.alpha.net 974845036 156.46.62.124 (Tue, 21 Nov 2000 16:17:16 CST) NNTP-Posting-Date: Tue, 21 Nov 2000 16:17:16 CST Newsgroups: comp.lang.ada Date: 2000-11-21T00:00:00+00:00 List-Id: Robert Dewar wrote in message <8vcjcc$e09$1@nnrp1.deja.com>... >In article , > "Randy Brukardt" wrote: >> (Importantly, the base type problem means that streams may not >> be portable between different Ada compilers on the same >> machine. Even if GNAT is following the AI proposal, there is >> no requirement that other compilers do so until the AI is >> completed.... Caveat empor.) >Wait a moment, there is no requirement on compilers to use any >particular representation for stream elements in the first >place. This is all implementation advice, and compilers may >after all choose different representations for the base type. True enough, but the point of the AI is to introduce a specifiable attribute to provide some control over this. Which is enough for most applications (of course, hetrogeneous networks need to go beyond what the language can provide). I suspect that you are thinking about the recommendations about the default base type representation (which GNAT indeed always has supported), but the AI goes beyond that (and indeed it was always intended that it would do so, it's just been waiting for Tucker to write the proposal up). Randy.