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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,CP1252 X-Google-Thread: 103376,386228a37afe967f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-20 15:43:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail Message-ID: <3F1B1AE9.8040409@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Computer Language Shootout References: <1ec946d1.0307150715.4ba69f85@posting.google.com> <3F149243.80304@attbi.com> <3F15930C.2070907@attbi.com> <87k7aeqfcf.fsf@inf.enst.fr> <3F19E1BB.5000908@attbi.com> <87n0f9poyc.fsf@inf.enst.fr> <3F1A98F4.3090304@attbi.com> <87r84lt987.fsf@inf.enst.fr> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 66.31.71.243 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc51.ops.asp.att.net 1058740986 66.31.71.243 (Sun, 20 Jul 2003 22:43:06 GMT) NNTP-Posting-Date: Sun, 20 Jul 2003 22:43:06 GMT Organization: Comcast Online Date: Sun, 20 Jul 2003 22:43:06 GMT Xref: archiver1.google.com comp.lang.ada:40530 Date: 2003-07-20T22:43:06+00:00 List-Id: Samuel Tardieu wrote: > Being more on the embedded side, I dislike any dynamic memory > allocation which is not caused by an explicit "new". You are allowed to have such likes and dislikes. But I hope that when you have them in Ada programs you realize that there are standard packages that are not intended for use in such an environment. The ARG is not going to require implementations to implement Text_IO in that way, if we did, it would just make us look silly. Text_IO is a high level abstraction that is intended to hide file layouts, protocols and buffering from the user. If you want your file buffers allocated by an explicit new, rather than an OS call, don't use Text_IO. Streams.Stream_IO or even Low_Level_IO are more appropriate in that situation. -- Robert I. Eachus �In an ally, considerations of house, clan, planet, race are insignificant beside two prime questions, which are: 1. Can he shoot? 2. Will he aim at your enemy?� -- from the Laiden novels by Sharon Lee and Steve Miller.