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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3a6a9f1d654285ba X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!i18g2000pro.googlegroups.com!not-for-mail From: Isaac Gouy Newsgroups: comp.lang.ada Subject: Re: Ada Shootout program for K-Nucleotide (patches) Date: Thu, 6 Aug 2009 08:21:42 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2b39e834-daa4-45fe-a50c-bfe46f880f97@i18g2000pro.googlegroups.com> References: <4a743343$0$32674$9b4e6d93@newsspool2.arcor-online.net> <4a76cd4f$0$31329$9b4e6d93@newsspool4.arcor-online.net> <87bpmxdqfo.fsf@nbi.dk> <2bae762e-0d8a-4389-843a-466e87f59fd1@a37g2000prf.googlegroups.com> <4a786b15$0$30230$9b4e6d93@newsspool1.arcor-online.net> <67e76046-62d4-4c0e-bdd8-8d00cdf93bca@l35g2000pra.googlegroups.com> <4a79f712$0$31874$9b4e6d93@newsspool3.arcor-online.net> <7ead5f61-e733-4c53-af41-34c6dbec0335@d15g2000prc.googlegroups.com> <4a7a9616$0$31867$9b4e6d93@newsspool3.arcor-online.net> <124fc6c7cp0ug.kgxak9nc9312$.dlg@40tude.net> <4a7ab1a7$0$31865$9b4e6d93@newsspool3.arcor-online.net> <1toazvt4z3tld$.1cxl32wwndszl.dlg@40tude.net> NNTP-Posting-Host: 76.102.15.45 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1249572102 27779 127.0.0.1 (6 Aug 2009 15:21:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 6 Aug 2009 15:21:42 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i18g2000pro.googlegroups.com; posting-host=76.102.15.45; posting-account=8hLxJgkAAAAL8xHLJ0ljKM_bUSuq3O6V User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7631 Date: 2009-08-06T08:21:42-07:00 List-Id: On Aug 6, 3:49=A0am, "Dmitry A. Kazakov" wrote: > On Thu, 06 Aug 2009 12:34:14 +0200, Georg Bauhaus wrote: > > Dmitry A. Kazakov schrieb: > >> On Thu, 06 Aug 2009 10:36:38 +0200, Georg Bauhaus wrote: > > >>> Does it matter? =A0Gives C programmers the illusion that > >>> it is their language that makes I/O fast when it is > >>> Unix I/O and the wrappers that have naturally made it > >>> into its handy byproduct C. > > >> Huh, Unix I/O is fast? > > > OK, I meant that most programs in the game use simple > > I/O functions for line output, functions in particular that > > were developed with Unix. (Calling fputs, or even routines > > that have read(2) under the hood, I imagine.) > > > No one uses fprintf for line output; we have to, if > > we stick to Text_IO. =A0 If all goes well, Streams.Write > > will do something close to what everyone else does, and > > in plain Ada. > > These shoot-outs are usually poorly thought and stated. Clearly I/O has > nothing to do with the language performance when the problem is not > directly related to communication with the file system. Otherwise, it is > usually the file system which is a problem and not the language... (:-)) > > OK, this is not a joke. In fact, Ada.Text_IO is fast enough for its > purpose, i.e. dealing with *text* files. If we have MBytes of *text*, the= re > must be something wrong with us, if we are using crippled OSes, which do > not distinguish texts and data. Ada was designed in the times when crippl= ed > OSes didn't dominate the market... > > -- > Regards, > Dmitry A. Kazakovhttp://www.dmitry-kazakov.de Criticisms of these shoot-outs are usually poorly thought and stated. If we have MBytes of *text*, we must be doing bioinformatics, if we are using crippled OSes, which do not distinguish texts and data, we must be concerned with the present rather than some bygone age.