This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why not gnat Ada in gcc?
- To: shebs at apple dot com
- Subject: Re: Why not gnat Ada in gcc?
- From: jfm2 at club-internet dot fr
- Date: Tue, 19 Sep 2000 08:10:48 +0200 (CEST)
- Cc: kenner at vlsi1 dot ultra dot nyu dot edu, reedkotler at hotmail dot com, gcc at gcc dot gnu dot org
- References: <10009182026.AA15243@vlsi1.ultra.nyu.edu> <39C6996B.46EF65F1@apple.com>
>
> Richard Kenner wrote:
> >
> > Who is still programming in Ada? and why?
> >
> > This is *really* off topic, but basically Ada is the language of choice for
> > safety-critical applications. Much Ada programming nowadays in done in
> > companies such as Boeing, Lockheed Martin, and Rockwell. It is used
> > for such applications as avionics, air traffic control, and military
> > software. Typical Ada applications are millions of lines of code.
>
> It's worthwhile to remind the callow youths that the world does not actually
> revolve around GCC bootstraps and recompilation of the Linux kernel. :-)
>
It's worthwhile to remind the callow youths that it is not because
something is standatrd in Unix that it is the best in world. C became
the standard in Unix mailnly because for a time it was the only
language available. By the time other languages became available it
was too late: using another language would have meant retraining
programmers and rewriting many libraries. C is quite adequate for
writing kernels (its original purpose) but it is too low level for
application programming, makes programmers reinvent wheels (each
reinvented wheel is a potential bug) and has several architectural
flaws: it is far easier to get buffer overruns when you are handling
pointers to a zone of memory teminated by a \0 that when a string is a
zone of memory preceeded by a counter telling size since in the later
case the compiler or the runtime environment can tell you there is
something wrong.
I feel far better when nuclear plant software is not written in C/C++.
--
Jean Francois Martinez