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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!newsfeed-fusi2.netcologne.de!news.netcologne.de!newsfeed-hp2.netcologne.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada Shootout program for K-Nucleotide (patches) Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4a743343$0$32674$9b4e6d93@newsspool2.arcor-online.net> <0c18b36c-7af0-454c-8208-9b0416111a1f@w41g2000yqb.googlegroups.com> <87fxc9e0mg.fsf@nbi.dk> <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> Date: Thu, 6 Aug 2009 12:49:00 +0200 Message-ID: <1toazvt4z3tld$.1cxl32wwndszl.dlg@40tude.net> NNTP-Posting-Date: 06 Aug 2009 12:48:59 CEST NNTP-Posting-Host: e3206d76.newsspool3.arcor-online.net X-Trace: DXC=SVVWYJL[Di`EB;5>eE0T7mMcF=Q^Z^V3h4Fo<]lROoRa^YC2XCjHcbiBX`cZ>N=R`hDNcfSJ;bb[eIRnRBaCd 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? Gives 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. 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*, there 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 crippled OSes didn't dominate the market... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de