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,ASCII-7-bit X-Google-Thread: 103376,189a28164788ed2e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-03 22:39:07 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Computer Language Shootout References: X-Newsreader: Tom's custom newsreader Message-ID: Date: Sun, 04 Nov 2001 06:39:06 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 1004855946 24.7.82.199 (Sat, 03 Nov 2001 22:39:06 PST) NNTP-Posting-Date: Sat, 03 Nov 2001 22:39:06 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:15760 Date: 2001-11-04T06:39:06+00:00 List-Id: >For the 'echo server' shootout, I coded up a solution, and Ada 95 was >going to be last since 251 lines long. This is the page on the "echo I coded it using the Claw.Sockets library and, after pretty-printing to normalize white space, the result is 60 lines. Amusingly, that's exactly the average of the lengths in his table. The loop consists of calls on "send" and "recv" and a little bit of status checking and comparing the echoed 19 characters to the original, so most of the time ought to be in the OS. Claw runs only on Windows, though, not Linux, so I guess it's excluded. Looking at the gcc version, it's not clear to me why an Ada transliteration should be significantly different in size.