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-Thread: 103376,bdcca6db8294fb00 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Introducing memcache-ada, a memcached client in Ada Date: Mon, 20 Dec 2010 18:56:17 -0600 Organization: Jacob Sparre Andersen Message-ID: References: <4d0f1316$0$23759$14726298@news.sunsite.dk> <4d0f1ed7$0$6990$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1292892979 15554 69.95.181.76 (21 Dec 2010 00:56:19 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 21 Dec 2010 00:56:19 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Xref: g2news2.google.com comp.lang.ada:17059 Date: 2010-12-20T18:56:17-06:00 List-Id: "Georg Bauhaus" wrote in message news:4d0f1ed7$0$6990$9b4e6d93@newsspool4.arcor-online.net... ... > One more general comment, addressed to all interested: > Don't we have a portable POSIX socket library? As much as I'm > fond of GNAT, placing GNAT's helpful, yet compiler specific > libraries in every program will make them non-Ada (in a > portability sense). In the case of sockets, I don't see a > compelling need to be compiler specific? There isn't. We had a project to make a compiler-independent socket library as part of Ada 2005. But no one took the point on it, and I simply was spread too thin to want to take on another major project. We've talked about splitting "Claw.Sockets" out of Claw, since it doesn't depend much on Claw. (The origin of Ada.Directories was Claw.Directories, which also didn't depend much on Claw.) Tom Moran made an NC-Sockets ("NC" standing for "Not Claw"), but it'll have to be ported to Linux (which I don't expect to be hard) in order to be generally useful. Claw.Sockets is mostly stream-oriented; it doesn't provide all of the functionality of the raw sockets level in order to make an abstraction much more like the file abstractions that Ada programmers are familiar with. In that sense, it is a bit higher level than the GNAT sockets and Adasockets. That seems better to me, presuming that you don't need the low-level functionality [not sure why you would, but I am never surprised anymore about that sort of thing]. Randy.