comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: howto make system calls (newbie question)
Date: Mon, 7 May 2001 14:25:54 -0400
Date: 2001-05-07T18:25:56+00:00	[thread overview]
Message-ID: <9d6pbk$64b$1@nh.pace.co.uk> (raw)
In-Reply-To: 3AF6D040.FF71B782@gsde.hou.us.ray.com

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" <u61783@gsde.hou.us.ray.com> 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.
>






  reply	other threads:[~2001-05-07 18:25 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-04 20:56 howto make system calls (newbie question) Beard, Frank
2001-05-07 14:42 ` Marin David Condic
2001-05-07 16:41   ` Samuel T. Harris
2001-05-07 18:25     ` Marin David Condic [this message]
2001-05-08 20:30       ` Samuel T. Harris
2001-05-08 21:13         ` Marin David Condic
2001-05-08 20:23     ` Samuel T. Harris
2001-05-08  7:34   ` Tarjei T. Jensen
2001-05-08 12:16     ` Larry Kilgallen
2001-05-08 14:12       ` Tarjei T. Jensen
2001-05-08 16:48         ` Larry Kilgallen
2001-05-08 21:40           ` Charles Hixson
2001-05-08 22:53             ` Larry Kilgallen
2001-05-09 16:00               ` Charles Hixson
2001-05-09 17:14                 ` Larry Kilgallen
2001-05-09  8:25           ` Tarjei T. Jensen
2001-05-09 12:28             ` Larry Kilgallen
2001-05-09 16:13               ` Charles Hixson
2001-05-10  7:17               ` Tarjei T. Jensen
2001-05-08 13:43     ` Marin David Condic
2001-05-12  2:58       ` Randy Brukardt
2001-05-12 13:07         ` Larry Kilgallen
2001-05-14 13:29         ` Ada Libraries (was Re: howto make system calls (newbie question)) Marin David Condic
2001-05-14 19:16           ` Randy Brukardt
2001-05-14 22:35             ` Ada Libraries Marin David Condic
2001-05-14 19:27           ` Ada Libraries (was Re: howto make system calls (newbie question)) tmoran
  -- strict thread matches above, loose matches on Subject: below --
2001-05-10 21:22 howto make system calls (newbie question) Beard, Frank
2001-05-10 20:11 Beard, Frank
2001-05-11 16:03 ` Samuel T. Harris
2001-05-10 19:54 Beard, Frank
2001-05-10 20:41 ` Pascal Obry
2001-05-09 22:28 Beard, Frank
2001-05-09 22:19 Beard, Frank
2001-05-10  6:18 ` Pascal Obry
2001-05-10 12:40 ` Samuel T. Harris
2001-05-10 15:44   ` Stephen Leake
2001-05-09 22:07 Beard, Frank
2001-05-10 12:34 ` Samuel T. Harris
2001-05-09 21:42 Mike Brenner
2001-05-07 17:04 Beard, Frank
2001-05-04 21:08 Beard, Frank
2001-05-04 22:45 ` Jeffrey Carter
2001-05-07 14:47 ` Marin David Condic
2001-05-09 13:41   ` Noam Kloos
2001-05-09 14:17     ` Ted Dennison
2001-05-16 12:45       ` Marc A. Criley
2001-05-16 19:50         ` Ted Dennison
2001-05-09 18:29 ` GianLuigi Piacentini
2001-05-09 19:18   ` David Starner
2001-05-04  7:51 Lars Lundgren
2001-05-04  8:16 ` L.H.Jeong
2001-05-04  8:47   ` Lars Lundgren
2001-05-04 12:12     ` Marc A. Criley
2001-05-04 15:49       ` Marin David Condic
2001-05-04 17:46         ` tmoran
2001-05-04 18:46           ` Marin David Condic
2001-05-05  7:01             ` tmoran
2001-05-04 16:35     ` Jeffrey Carter
2001-05-04 11:00 ` Noam Kloos
2001-05-04 12:01   ` Lars Lundgren
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox