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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6413b417b806eb28 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Linux Kernel in Ada. Repost Date: 1999/04/11 Message-ID: <7ep6uj$o97$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 464985073 References: <7eg43i$d3b$1@nnrp1.dejanews.com> <370CC730.4C6112DB@utech.net> <370D7007.2D3AD58B@rocketmail.com> <7el9so$geb@drn.newsguy.com> <7elrg5$egk2@ftp.kvaerner.com> <7emjk8$rp3@drn.newsguy.com> X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sun Apr 11 04:03:34 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-04-11T00:00:00+00:00 List-Id: In article <7emjk8$rp3@drn.newsguy.com>, bill_@nospam wrote: > It is kind'a hard to write Linux or Unix stuff in Ada, > becuase the Posix > Ada binding do not seem to work well or even documented. > The Posix Ada > bindings for linux (there is now even an RPM for these > for Linux!) do not > have an API document to tell one how to use them to write > the sort of stuff > you are talking about. First, of course there is documentation on how to use the Posix interface, this is an IEEE standard, just as for Ada you go to the RM, you go to the Posix standard for details on the Ada binding to Posix. Second, I see no particular reason to use these bindings. Might as well call any services that you want directly. I see no point in involving the Posix stuff here. As for it being "kind'a hard to write .. Unix stuff [in Ada]" that makes no sense, it is quite straightforward in Ada to call any system services or other functions that you need. I am not at all clear that it is desirable to use something as thick as the Posix bindings at the OS kernel level anyway, that does not make any sense. The more reasonable view of the Posix bindings is that they bind to the kernel you are writing! Of course if you were writing an OS from scratch, you might consider using the IEEE Ada/Posix "binding" as the actual API of the kernel, but that's another story completely. In any case, the existing Posix interface is completely irrelevant to this project. You are trying to write a kernel in Ada, what on earth is the relevance of a binding from Ada to the corresponding C kernel?? -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own