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,577c9f9c0cdd76d X-Google-Attributes: gid103376,public From: "Samuel T. Harris" Subject: Re: Confusing language, was Re: Help help.. please.i am totaly new in ada programing Date: 1999/11/15 Message-ID: <38304707.4DDCB766@hso.link.com>#1/1 X-Deja-AN: 548908075 Content-Transfer-Encoding: 7bit References: <7vqgs2$lcc$1@nnrp1.deja.com> <38233108.F3540F0@ebox.tninet.se> <806716$i6c2@ftp.kvaerner.com> <807109$8m0$1@nnrp1.deja.com> <38270DC7.86553BB1@pwfl.com> <38285C60.B3E2D2BC@pwfl.com> <809u91$3ik$1@nntp1.atl.mindspring.net> <80djd2$48o$1@nnrp1.deja.com> <382C40FA.248E6840@mitre.org> <80ival$og$1@nnrp1.deja.com> <382DAF3F.D69B74A4@callnetuk.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Raytheon Scientific & Technical Services Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-11-15T00:00:00+00:00 List-Id: Nick Roberts wrote: > > Robert Dewar wrote: >snip< > > Much better idea. Maybe a new configuration pragma could be used for > this job? > > pragma Default_Stream_IO ( Intrinsic | Standard ); > > Intrinsic would invoke the current recommended scheme (efficient > in-memory images), and so be the default. Standard would invoke a scheme > which precisely specified the binary format of every possible Ada type > (for all four attributes Read, Write, Input, and Output). I think this > would have to be in terms of architectures which had byte (or > byte-multiple) stream elements and elementary types; architectures which > didn't would simply have to ignore the pragma or interpret it in their > own way (but issue a warning!). > > Submission for an AI? > I'd add Textual to that list. I found while doing distributed command and control systems, having a textual representation for all network traffic made much of the testing and debugging a breeze. Of course, efficient binary as well as secured encrypted formats were also available. -- Samuel T. Harris, Principal Engineer Raytheon, Scientific and Technical Systems "If you can make it, We can fake it!"