comp.lang.ada
 help / color / mirror / Atom feed
From: Bruce MacDonald <microbards@my-dejanews.com>
Subject: Re: Linux Kernel in Ada. Repost
Date: 1999/04/12
Date: 1999-04-12T00:00:00+00:00	[thread overview]
Message-ID: <7et978$cl$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7ep6kp$nv3$1@nnrp1.dejanews.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2817 bytes --]

Although I hate people who don�t edit down the post that they are responding
to, the signal to noise ratio is so high in Dr. Dewar�s note that I have to
let it all stand.

I agree that �C style� Ada is anathema. I had planned to translate and then
rewrite. I hadn�t even considered the �mixed C and Ada� incremental approach
you mention. This, of course, is the �right� approach. (It is the
embarrassment of missing the obvious that keeps me lurking in cla instead of
participating.)

The goal of the project is not to prove that Ada is �better� than C. I fear
those in need of more proof will never accept it. That some people writing
software do not accept the idea of letting the computer do most of the work
for you (by pointing out your errors) is a bad omen.

The goal is not to unseat Bill Gates or Linus Torvolds; they do what they do
very well.

The goal of the project is to save the instructor, of the introductory OS
course that will use the kernel, the hassle of debugging student C (a
superset of ANSI C) when what he or she wants to do is teach operating system
principles.

Bruce MacDonald


In article <7ep6kp$nv3$1@nnrp1.dejanews.com>,
  Robert Dewar <robert_dewar@my-dejanews.com> wrote:

> 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


What doesn't kill you, makes you bitter and cynical.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-04-12  0:00 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-07  0:00 Linux Kernel in Ada. Repost Bruce MacDonald
1999-04-07  0:00 ` Matthew Heaney
1999-04-08  0:00 ` Jeffrey D. Cherry
1999-04-09  0:00   ` Corey Ashford
1999-04-09  0:00     ` Jeffrey D. Cherry
1999-04-09  0:00     ` me
1999-04-09  0:00       ` Tarjei Tj�stheim Jensen
1999-04-09  0:00         ` bill_
1999-04-10  0:00           ` Tarjei Tj�stheim Jensen
1999-04-10  0:00             ` Mich
1999-04-10  0:00               ` Tarjei Tj�stheim Jensen
1999-04-11  0:00                 ` Robert Dewar
1999-04-12  0:00                 ` OpenToken project announcement dennison
1999-04-11  0:00               ` Linux Kernel in Ada. Repost Robert Dewar
1999-04-10  0:00                 ` Kevin
1999-04-13  0:00                 ` Harry Tanovich
1999-04-13  0:00                   ` Robert Dewar
1999-04-11  0:00             ` Jerry van Dijk
1999-04-11  0:00           ` Robert Dewar
1999-04-10  0:00             ` mike
1999-04-11  0:00               ` Robert Dewar
1999-04-12  0:00                 ` Samuel Mize
1999-04-13  0:00                   ` Robert Dewar
1999-04-16  0:00                     ` Samuel Mize
1999-04-11  0:00             ` Accessing C macro constants from Ada95 Markus Kuhn
1999-04-11  0:00               ` Jerry van Dijk
1999-04-12  0:00               ` Tarjei Tj�stheim Jensen
1999-04-12  0:00               ` Robert Dewar
1999-04-12  0:00               ` Robert Dewar
1999-04-13  0:00                 ` Markus Kuhn
1999-04-13  0:00                   ` Robert Dewar
1999-04-13  0:00                     ` dennison
1999-04-12  0:00               ` Aidan Skinner
1999-04-13  0:00                 ` Robert Dewar
1999-04-12  0:00               ` Robert Dewar
1999-04-11  0:00           ` Linux Kernel in Ada. Repost Jerry van Dijk
1999-04-11  0:00             ` Robert Dewar
1999-04-14  0:00               ` Aidan Skinner
1999-04-09  0:00       ` Larry Kilgallen
1999-04-09  0:00         ` David Starner
1999-04-09  0:00           ` Brian Rogoff
1999-04-11  0:00           ` Robert Dewar
1999-04-12  0:00         ` Hans N. Beck
1999-04-11  0:00   ` Robert Dewar
1999-04-12  0:00     ` Bruce MacDonald [this message]
1999-05-03  0:00 ` Buz Cory
1999-05-03  0:00   ` Hans N. Beck
replies disabled

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