comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>
Subject: Re: ISO/IEC 14519 - Ada POSIX binding
Date: Fri, 20 Jun 2003 15:09:18 -0400
Date: 2003-06-20T15:09:18-04:00	[thread overview]
Message-ID: <3EF35BDE.7000800@cogeco.ca> (raw)
In-Reply-To: msIIa.54261$sm5.60390@rwcrnsc52.ops.asp.att.net

tmoran@acm.org wrote:
>>But there _are_ problems WRT Ada. The first that comes to mind is
>>the whole error handling approach. POSIX likes the idea of an errno
>>value with errno codes. The Ada approach often uses exceptions, and
> 
>   I have the paper version of IEEE 1003.5-1992 which specifically has a
> discussion of why that Ada binding to POSIX uses exception handling
> instead of errno.  ISO/IEC 14519 appears to be a successor, covering more
> ground (eg sockets).  The Ada binding is thick in the sense of using
> exceptions, strong typing, generics, tasking, etc, but it's still pretty
> "close to the hardware".  It also was designed pre-Ada95.  In designing
> CLAW, we studied the 1003.5-1992 book, but in many cases went for a higher
> abstraction level.  For instance, claw sockets need merely Open, Write,
> Close (Close is optional, actually, thanks to Finalization) with lots of
> stuff, like the multiple states a socket can be in, happening "under the
> hood".  There are projects that need the detailed level of control, and
> there are projects that will be implemented faster with the simplified
> interface.  I don't think a one-size-fits-all standard socket binding
> would be adequate.

The point of a standardized package is not necessarily to have
"one-size-fits-all", though that might be one goal, if it were
possible. Ada.Text_IO is certainly not "one-size-fits-all" for
text I/O, but yet, it works sufficiently well for a large majority
of the cases required for applications.  I think many people would
be happy to achieve something similar for network programming.

-- 
Warren W. Gay VE3WWG
http://home.cogeco.ca/~ve3wwg




  reply	other threads:[~2003-06-20 19:09 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-19 21:43 ISO/IEC 14519 - Ada POSIX binding Mark Lorenzen
2003-06-19 21:29 ` tmoran
2003-06-28 23:48   ` Richard Riehle
2003-06-20 11:57 ` Marin David Condic
2003-06-20 14:08   ` Ludovic Brenta
2003-06-20 16:39     ` Warren W. Gay VE3WWG
2003-06-20 18:33       ` tmoran
2003-06-20 19:09         ` Warren W. Gay VE3WWG [this message]
2003-06-21 19:14         ` Florian Weimer
2003-06-21 19:42           ` tmoran
2003-06-21 21:04             ` Robert I. Eachus
2003-06-29 15:05             ` Florian Weimer
2003-06-20 19:24       ` Georg Bauhaus
2003-06-20 20:49         ` Warren W. Gay VE3WWG
2003-06-20 20:49       ` Wesley Groleau
2003-06-20 23:05         ` Mark Lorenzen
2003-06-21  1:49         ` David Emery
2003-06-21 19:19           ` Florian Weimer
2003-06-21 21:47             ` David Emery
2003-06-21 22:22               ` Larry Kilgallen
2003-06-23 16:13               ` Warren W. Gay VE3WWG
2003-06-23 22:41                 ` Berend de Boer
2003-06-24  9:52                   ` Lutz Donnerhacke
2003-06-24 20:43                     ` Berend de Boer
2003-06-25  9:02                       ` Pascal Obry
2003-06-25  9:46                       ` Lutz Donnerhacke
2003-06-25 21:19                         ` Berend de Boer
2003-06-21 13:01       ` Pascal Obry
2003-06-21 12:11     ` Marin David Condic
2003-06-21 12:44       ` Ludovic Brenta
2003-06-21 13:03         ` Larry Kilgallen
2003-06-21 22:28           ` Ludovic Brenta
2003-06-22  3:45             ` Larry Kilgallen
2003-06-22  8:47               ` Mark Lorenzen
2003-06-23 16:36         ` Warren W. Gay VE3WWG
2003-06-24 11:46           ` Marin David Condic
2003-06-21 19:09 ` Florian Weimer
2003-06-21 22:38   ` Mark Lorenzen
2003-06-21 22:51     ` Ludovic Brenta
2003-06-23 16:54       ` Warren W. Gay VE3WWG
2003-06-24 11:49         ` Marin David Condic
2003-06-24 13:31           ` Warren W. Gay VE3WWG
2003-06-23 16:46     ` Warren W. Gay VE3WWG
2003-06-23 22:43       ` Berend de Boer
2003-06-29 15:10     ` Florian Weimer
2003-06-29 20:58       ` David Emery
replies disabled

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