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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,92640d662fc31a03 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-09 15:20:13 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Beard, Frank" Newsgroups: comp.lang.ada Subject: RE: howto make system calls (newbie question) Date: Wed, 9 May 2001 18:19:07 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 989446808 96730 137.194.161.2 (9 May 2001 22:20:08 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 9 May 2001 22:20:08 +0000 (UTC) To: "'comp.lang.ada@ada.eu.org'" Return-Path: X-Mailer: Internet Mail Service (5.5.2448.0) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: newsfeed.google.com comp.lang.ada:7411 Date: 2001-05-09T18:19:07-04:00 Marin, I didn't see this one when I wrote my last response. I agree with you. And the answer to your question: > Is the Posix binding going to just come with my > compiler and I can go along fat, dumb and happy using it at will with no > thought as to where to find it and no concern for transportability of my > code? is NO, at least not yet. Even Pascal Obry's effort is not 100% complete. And I haven't seen anything for the POSIX Ada Real-Time Extensions, which has the support for Thread IDs, priorities, etc). The Real-Time extensions may be where the Message Queues and Shared Memory fell as well. If my project, which used Message Queues and Shared Memory, had needed to be ported to Windows, it would have been a nightmare. Frank -----Original Message----- From: Marin David Condic [mailto:marin.condic.auntie.spam@pacemicro.com] Sent: Monday, May 07, 2001 2:26 PM To: comp.lang.ada@ada.eu.org Subject: Re: howto make system calls (newbie question) Well, not everything in the world needs to be in an annex to the ARM. The Posix binding is a fair example. Of course, there you have the problem that the interface may not be made available by a given compiler and it might not be applicable in all environments anyway. That's a binding to a specific class of OS that may not be common across all OS's & one would want to give that some thought. Is there a reason to maybe make an OS independent package available that provided some of the things that might exist in Posix, but might be provided by a different system in a different manner? Or is Posix widely spread enough that Ada could just say "If you want access to system facilities of this type - go see Posix"? Is the Posix binding going to just come with my compiler and I can go along fat, dumb and happy using it at will with no thought as to where to find it and no concern for transportability of my code? The answers are not clear to me. However, I still think there is room to add some standard libraries to Ada that make it more useful to the programmer. Clearly the Ada.Strings... branch is a good example - C may supply some fairly lame string handling functions but Ada83 provided none at all. Now Ada95 has an area of clear superiority in that you get some really good pre-fabricated string utilities that are just there on any implementation and are at your disposal. Might there not be similar libraries of things that Ada could provide in some standardized manner? If a C programmer can say "I can do this thing in C - how do I do it in Ada?" should it be fair game to ask how we might have that provided in all Ada implementations? I really wish the Ada Standard Library Working Group had managed to get somewhere with defining even a starting point for this sort of thing. Even if a library didn't come by virtue of the ARM, if it was available with a standard interface and provided by most, if not all, implementations, it would enhance the value of Ada to the programmer. Then we'd be off in other newsgroups asking "I can do this in Ada - how do I do it in your language?" :-) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Samuel T. Harris" wrote in message news:3AF6D040.FF71B782@gsde.hou.us.ray.com... > Of course, there are other "standards" which are not part > of the Ada standard. For instance, the POSIX Ada binding > has been invaluable to me in writing portable code which > requires facilities from the operating system. > > Since this is standardized by IEEE, I feel any particular > need to include it as an Ada LRM annex. > _______________________________________________ comp.lang.ada mailing list comp.lang.ada@ada.eu.org http://ada.eu.org/mailman/listinfo/comp.lang.ada