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: <7ep6kp$nv3$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 464985050 References: <7eg43i$d3b$1@nnrp1.dejanews.com> <370CC730.4C6112DB@utech.net> 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 03:58:19 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 <370CC730.4C6112DB@utech.net>, "Jeffrey D. Cherry" wrote: > I'd be interested ... sounds like fun. I'm not sure > about the C2Ada tool since I have no experience with it > myself. Even if C2Ada were a fully capable C-to-Ada translator, which it is not, it would be totally useless for this project. I cannot imagine a worse excercise than to reproduce the Linux Kernel in C-style Ada. If people want to do this, the challenge is to redesign at all levels of abstraction in elegant Ada style. A tool for automatic translation just gets in the way of this goal. Note that if you use GNAT here, you have extremely easy integration with gcc-C which is of course what Linux uses. You don't have to rewrite the entire kernel. Instead, just take some sample modules and really work hard on those to demonstrate the advantages of Ada style. Then you can demonstrate that your code works by mixing it in with the C code for other parts of the kernel. Eventually of course you might replace more, most, or all of the C code. But the point is that this is then a nice incremental project with a working system at every stage of the game, which can be a nice demonstration of Ada right away. Don't just think of a project like this as being aimed at showing that Linux can be written in Ada, of course it can. Anything can be written in any language, and it proves nothing. The goal is to show examples that back up the claim of Ada being preferable to C for this kind of programming. Robert Dewar -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own