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,7402728c011ea87a X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Efficient io of arbitrary binary data. Date: 1996/09/14 Message-ID: #1/1 X-Deja-AN: 180636418 references: <3239B3B2.1AE4@cray.com> <1996Sep14.112929.1@eisner> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-09-14T00:00:00+00:00 List-Id: Brian said "> I considering how this program could be written in Ada (part of > an attempt to become Ada literate in an Ada hostile environment) > I a puzzled. The approaches which Ada seems to allow all require > much more copying of data as I am not allowed to return a reference > to a slice of an array I can only return the slice itself." Well seeing as you have neither slices nor references to slices in C, it is hardly possible that this limitation is a significant one! DOn't assume that because you are writing in Ada, you *have* to use all its features!