comp.lang.ada
 help / color / mirror / Atom feed
From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: Kernel Syscall from Ada?
Date: Thu, 12 Jul 2018 08:27:38 -0700 (PDT)
Date: 2018-07-12T08:27:38-07:00	[thread overview]
Message-ID: <4b5743b1-846c-4397-a096-af986c675363@googlegroups.com> (raw)
In-Reply-To: <e8d5b8cd-00ee-4f40-9418-98dfd9d73bb1@googlegroups.com>

On Thursday, July 12, 2018 at 3:19:34 AM UTC-5, Lucretia wrote:
> On Thursday, 12 July 2018 02:32:30 UTC+1, Dan'l Miller  wrote:
> 
> > available for purchase in each major national standards body, such as for $232 in the USA:
> > https://webstore.ansi.org/RecordDetail.aspx?sku=ISO%2FIEC%2014519:2001&source=preview
> 
> Bit pricey, really, for a book. I can see this interface being rewritten cleanroom tbh in Ada 2012, i.e. the
> api won't be the same.

https://en.wikibooks.org/wiki/Ada_Programming/Platform/POSIX

Yes, the POSIX.5 standard and Florist implementation thereof is Ada95 era.  As a thick binding, it likely could be freshened up a tad to Ada2012.  If the latest public version from AdaCore is strictly GPLed, then the older editions from Florida State should be GMGPL instead.

Acquiring a copy of the standard instead (e.g., borrowing it from an engineering library at a university) would permit a fairly easy cleanroom reimplementation directly from the standard.  That re-implementation could provide Ada95, Ada2005, and Ada2012 personalities, perhaps going far beyond the standard for Ada2012.  But ultimately, the result is still an add-on layer to the C-language syscall …

… I still think what would put Ada on the map via public fanfare would be an Ada-centric distribution of Linux (or BSD Unix for that matter, or both) that add a whole set of Ada-only syscalls in a new Ada-only syscall table to put Ada on 100% equal footing as C for Linux programming.  Not even C++ has that.  (What better way to compete with C++?)  Ada should walk confidently in through the front door.  In all the POSIX.2 (C API) areas of Linux syscalls, the Ada syscalls perhaps should be the POSIX.5 (Ada thick binding) verbatim (at least when in Ada95 mode).

  reply	other threads:[~2018-07-12 15:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23  8:36 Kernel Syscall from Ada? Diogenes
2016-06-23 10:58 ` Björn Lundin
2016-06-23 16:28   ` Per Sandberg
2016-06-23 22:18 ` Randy Brukardt
2018-07-12 19:07   ` Dan'l Miller
2018-07-12 20:59     ` Randy Brukardt
2016-06-24  1:13 ` Xavier Petit
2016-06-24 22:23 ` Florian Weimer
2018-07-11 22:38 ` alexgrantbenedict
2018-07-12  1:32 ` Dan'l Miller
2018-07-12  8:19   ` Lucretia
2018-07-12 15:27     ` Dan'l Miller [this message]
2018-07-12 17:27       ` Lucretia
replies disabled

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