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,2d2df3e9ad18fa63 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-24 04:46:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-pas-nf2!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: Marin David Condic Newsgroups: comp.lang.ada Subject: Re: ISO/IEC 14519 - Ada POSIX binding Date: Tue, 24 Jun 2003 07:46:42 -0400 Organization: MindSpring Enterprises Message-ID: <3EF83A22.9010607@noplace.com> References: <3EF2F6B8.3030706@noplace.com> <3EF44B79.2000407@noplace.com> <3EF72C8C.8080103@cogeco.ca> NNTP-Posting-Host: d1.56.a0.74 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Server-Date: 24 Jun 2003 11:46:53 GMT User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en Xref: archiver1.google.com comp.lang.ada:39651 Date: 2003-06-24T11:46:53+00:00 List-Id: I'd also suggest that if Ada is going to have any sort of sockets package, that it ought to be very "Ada-ish" written in "Ada-ese" rather than be developed in C using Ada syntax. You definitely want to use Ada idioms rather than trying to speak C with an Ada accent. To the extent that POSIX caters to C, I'd disregard it - creating a thick binding at best to hide things that are C-ish. Things like pointers to null terminated arrays of characters and error return codes from functions should all be rethought so that they have no existence in an Ada standard. Develop the interface so that it has an Ada look-and-feel and if it happens to line up nicely with POSIX, fine. But you don't simply want to point to POSIX and say "Go use that with Ada syntax" MDC Warren W. Gay VE3WWG wrote: > > > I don't agree, and my reasons are similar to Marin's. Certainly > there is no reason not to use POSIX underneath the hood, where > it makes sense. But I see no need to tie an Ada standard to a > POSIX standard. Nor do I see a need to make an Ada interface > match a C-ish UNIX one (for the record, I am a UNIX fan, saying > this). > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "In general the art of government consists in taking as much money as possible from one class of citizens to give to the other." -- Voltaire ======================================================================