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.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6f69b1cf0f02b9ac X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-21 15:23:21 PST Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.mesh.ad.jp!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mail From: "DuckE" Newsgroups: comp.lang.ada References: <93ti8b$bjpps$1@ID-25716.news.dfncis.de> <9BP86.270637$U46.8654942@news1.sttls1.wa.home.com> <94563n$cb6kp$1@ID-25716.news.dfncis.de> <0Cka6.290338$U46.9207275@news1.sttls1.wa.home.com> <94co6t$v27$1@nnrp1.deja.com> <94f1a8$k9r$1@nnrp1.deja.com> Subject: Re: How can I avoid Using a Semaphore? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sun, 21 Jan 2001 23:23:14 GMT NNTP-Posting-Host: 24.6.221.63 X-Complaints-To: abuse@home.net X-Trace: news1.sttls1.wa.home.com 980119394 24.6.221.63 (Sun, 21 Jan 2001 15:23:14 PST) NNTP-Posting-Date: Sun, 21 Jan 2001 15:23:14 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:4282 Date: 2001-01-21T23:23:14+00:00 List-Id: "Robert Dewar" wrote in message news:94f1a8$k9r$1@nnrp1.deja.com... > In article , > "DuckE" wrote: > > > 3. You want to control stream behavior on a type by type > > basis for all types including built in types. > > I don't see the point in adding a rather complex feature to > the language whose only purpose is to encourage increased > usage of bulit in primitive types, when we generally want > to discourage such use. Carefully written Ada programs should > not use the built-in types in any case. > After a little more reflection it occurs to me that what I really want is for the format of data on a stream to be dependent on the stream, or at least be capable of being dependent on the stream. For example, within one application I may want to stream information to a network in big endian format and stream information to files in little endian format. From what I understand (I may certainly be wrong) I cannot do this in Ada. If I want this functionality I must resort to C++. SteveD > > Sent via Deja.com > http://www.deja.com/