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,3398541ec18f6aa6 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.freenet.de!news.tu-darmstadt.de!news.belwue.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 06 Jun 2009 15:28:20 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Taking another spanking. References: <6f8fcf5b-09d7-40b6-9ac3-ed7e9f228b89@t21g2000yqi.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a2a6ef5$0$30223$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 06 Jun 2009 15:28:21 CEST NNTP-Posting-Host: b8ae712d.newsspool1.arcor-online.net X-Trace: DXC=lX6igDoN`PM0YVY]kmLTlDic==]BZ:afN4Fo<]lROoRA^YC2XCjHcbIOC6l0LBaU`OA:ho7QcPOVCBGRNME6\^KOSD0 anon wrote: > As for GNAT.Sockets.Thin -- I expand what "Robert Dewar" the CEO and > one of the chief authors of GNAT said in Aug 3, 1996 at 3:00 am. > "If you can do it in C, you can do it in Ada! Use pragma Import > and call exactly the same routines that you would call from C." > > In this case, I expand that to: Why not use GNAT package GNAT.Sockets.Thin > instead of re-creating a few "pragma import" or re-creating the Thin package. GNAT.Sockets is vendor specific, sockets aren't as far as Ada goes. GNAT.Sockets.Thin is not only vendor specific, the vendor says you should not use it. Pragma Import is standard Ada. POSIX is a standard. If sockets are ubiquituous, I'd think that the community of Ada programmers might like vendor neutral sockets code. Much more than it would like, say, IBM.Rational.Sockets.NonGNAT, or GNAT.Sockets.Thin.