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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,865c3d125a8dbc3b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!z9g2000yqi.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Howto read line from a stream Date: Thu, 4 Jun 2009 06:05:25 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0033b11d-bb5f-4762-82bd-4ad7c362b72a@z9g2000yqi.googlegroups.com> References: <83317a97-dae5-4c84-a1ac-88a87833cf3f@q14g2000vbn.googlegroups.com> <1a90e055-44a3-4d00-b4cd-64798c731a55@e24g2000vbe.googlegroups.com> <709e8a12-f967-43db-b76b-4852cf1db08b@v4g2000vba.googlegroups.com> <6146a252-71e5-4aaf-9a2b-c8ee87b7c9a4@t21g2000yqi.googlegroups.com> <08280h.f92.ln@hunter.axlog.fr> NNTP-Posting-Host: 137.138.182.236 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1244120725 4873 127.0.0.1 (4 Jun 2009 13:05:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 4 Jun 2009 13:05:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z9g2000yqi.googlegroups.com; posting-host=137.138.182.236; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6236 Date: 2009-06-04T06:05:25-07:00 List-Id: On 4 Cze, 10:56, Jean-Pierre Rosen wrote: > > The typical requirement is that your application must be faster then > > the competition, otherwise you go out of business. > > If this were true, Linux would have wiped out Windows... > > (Sorry, couldn't resist) I understand the joke, but unfortunately it does not work for this case. One of these two products gained the market first, so the rest is really more about social engineering that genuine technical competition. In other words, being faster is not enough for Linux to wipe out Windows, although certainly if it was slower than Windows, then you might forget about it altogether. And, to make it a bit more interesting, I have recently run a small interprocess communication (based of local TCP/IP) benchmark in two environments: - Mac OS - Windows XP in the virtual machine running on the same Mac OS You might think that the second environment was obviously in a disadvantage. To my big surprise, the second test was repeatably and consistently faster. Not by a large margin, but measurably (several percent). Of course Mac OS is not Linux, so I do not want to conclude anything about Linux this way, but certainly I would not be terribly shocked to see something similar happening on Linux as well. Interesting, isn't it? -- Maciej Sobczak * www.msobczak.com * www.inspirel.com Database Access Library for Ada: www.inspirel.com/soci-ada