From: "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>
Subject: Re: ISO/IEC 14519 - Ada POSIX binding
Date: Mon, 23 Jun 2003 12:46:47 -0400
Date: 2003-06-23T12:46:47-04:00 [thread overview]
Message-ID: <3EF72EF7.6050400@cogeco.ca> (raw)
In-Reply-To: m3d6h7ys2r.fsf@niflheim.malonet
Mark Lorenzen wrote:
> Florian Weimer <fw@deneb.enyo.de> writes:
>>Mark Lorenzen <mark.lorenzen@ofir.dk> writes:
>>
>>>So my big question is therefore: What's wrong with ISO/IEC 14519? It
>>>is of course pretty big, but that is a natural consequence of POSIX
>>>being big.
>>
>>There is no affordable documentation, for a start. POSIX.5 itself is
>>rather expensive. There is no publicly accessible implementation. As
>>a result, hardly anybody knows how the interface "feels" in practice.
>>
>>The rest of POSIX.5 has severe design deficiencies; I think it's
>>reasonable to assume that binding to the BSD sockets API is not much
>>better.
>
> (Sorry if this is sent twice)
>
> Personally I do not think that 44 CFH (approx. 33 USD) is expensive:
>
> http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=34354&ICS1=35&ICS2=60&ICS3=
Many feel that a standard should be freely available. In this case,
I would agree. It certainly helps to gain better acceptance.
> And we have a publicly available implementation called 'florist':
>
> http://libre.act-europe.fr/GNAT/
Ahem, FLORIST is :
1. only available to GNAT users
2. portable only to UNIX like systems so far
3. incomplete (no UNIX/Local socket support yet etc.)
4. and subject to platform differences (errno EAGAIN vs EWOULDBLOCK
differences etc.)
> You are correct that POSIX is not perfect, but it is PORTABLE and
Not completely, without planning for the platforms that it is to
compile on. I doubt that FLORIST guarantees uniform errno reporting,
so you end up having to know which platform you are on (or in some
simpler cases, planning for EAGAIN/EWOULDBLOCK as equally likely --
though not all situations are this simple).
> supported by a lot of interesting platforms. If we want to persuade
> people to using Ada instead of the "usual" languages for anything else
> than real-time or embedded systems, then we NEED support for POSIX.
I am not against POSIX support. I welcome FLORIST improvements (I
use it actively). But to tie another Ada standard package to POSIX
directly is unwise.
> At the company where I work, we have just finished a proposal for a
> system that initially must run on Solaris and must then later be
> ported to Linux. What is the key here? POSIX! The system consists of
> several UNIX processes and makes use of networking sockets, message
> queues, real-time signals, memory mapping and memory locking (but not
> shared memory). While POSIX may not be perfekt it is what is used in
> the "real" world.
Well, when you go to run that under Open/Net/FreeBSD, get ready to
make some adjustments. There is a world of difference between Linux
and FreeBSD on some of the APIs. ;-)
--
Warren W. Gay VE3WWG
http://home.cogeco.ca/~ve3wwg
next prev parent reply other threads:[~2003-06-23 16:46 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
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 [this message]
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