comp.lang.ada
 help / color / mirror / Atom feed
From: <adaworks@sbcglobal.net>
Subject: Re: Separate Compilation in Programming Languages
Date: Wed, 27 Feb 2008 01:58:07 GMT
Date: 2008-02-27T01:58:07+00:00	[thread overview]
Message-ID: <Ps3xj.8089$xq2.4717@newssvr21.news.prodigy.net> (raw)
In-Reply-To: uhcfv5xql.fsf@STRIPCAPStelus.net


"Ray Blaak" <rAYblaaK@STRIPCAPStelus.net> wrote in message 
news:uhcfv5xql.fsf@STRIPCAPStelus.net...
>
> Does the existence of gnatmake indicate corrupted dependency management in
> Ada?
>
No. It might indicate a problem with the GNAT implementation, but not
with Ada.  Not all Ada compilers are GNAT, and some handle this
more easily.   One of the issues for GNAT is that it depends on
the GNU model.  This is not true of Rational Apex, Aonix, or
even the ICC compiler.

> I program in a lot of languages, and I used to be heavily into Ada. I just do
> not encounter the problem in a serious way with the other languages.
>
I also program in a lot of languages.  I even program in Java sometimes.
However, I have not programmed any large-scale programs in Java,
as I have in Ada.

Although you have certainly made your point that my original statement
may have been too strong, this conversation has, as noted in another
contribution, led me to do some research into this issue.  What I have
found is not encouraging.  In fact, it is even a little horrifying.

As Java programs get larger, the dependency problems become more
and more messy.   Over and over this is discussed by  various forums
on the Internet.   Until I began researching this, I had not idea just how
pervasive the problem was in Java.

Apparently, for toy programs, and small projects this problem with Java
does not manifest itself.  However, as Java programs get larger, the
programmers are required to do a lot of workarounds.   Further, the
compiler does not actually trap all the kinds of errors that can occur
with dependency issues.  Third-party tools are required to analyze these
problems, and those third-party tools are not foolproof -- at least, not
so far.

> I easily agree that Ada is better at this, but in every language I use
> currently, there are always ways to readily control dependency and separate
> compilation issues.
>
This may be true in your practice, but there are hundreds of developers out
there who are find this to be a real problem.   As I see it right now, Ada
continues to be a much better solution when a software architecture is
large and needs to scale-up to even larger.

The scary thing for me, now that I am in the DoD, is that so many contractors
are naive about this issue and continue to insist on using Java for weapon
systems development. In my view, based on this week's research, Java should
not be used for safety-critical systems.  There are too many possibilities for
serious hidden problems based on these dependency issues.   It is probably
OK for Web solutions, but no one will accidentally get killed or maimed
because of a corrupted Internet solution.   Ooooops!   I forgot about SOA
where reusable components are integrated into safety-critical solutions.  I
guess it is better to be safe and not use it at all for any kind of software
where life and limb could be at risk.

Richard Riehle 





  reply	other threads:[~2008-02-27  1:58 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 17:35 Separate Compilation in Programming Languages adaworks
2008-02-22 17:52 ` Dirk Heinrichs
2008-02-23  0:23   ` adaworks
2008-02-22 18:10 ` Ray Blaak
2008-02-22 23:53   ` adaworks
2008-02-23  1:40     ` Ray Blaak
2008-02-23  7:29       ` adaworks
2008-02-23 18:42         ` Ray Blaak
2008-02-22 18:18 ` Niklas Holsti
2008-02-23  0:14   ` adaworks
2008-02-23  7:23     ` Niklas Holsti
2008-02-23  7:31       ` Niklas Holsti
2008-02-23 16:00         ` adaworks
2008-02-23 12:27     ` Georg Bauhaus
2008-02-23 12:37   ` Dirk Heinrichs
2008-02-23 13:03     ` Niklas Holsti
2008-02-22 19:11 ` Dmitry A. Kazakov
2008-02-23  0:16   ` adaworks
2008-02-22 19:33 ` Larry Kilgallen
2008-02-22 20:47 ` Simon Wright
2008-02-22 21:27 ` Robert A Duff
2008-02-23  0:12   ` adaworks
2008-02-23 10:28     ` framefritti
2008-02-23 12:45     ` Dirk Heinrichs
2008-02-23 15:16     ` Robert A Duff
2008-02-23 16:47       ` adaworks
2008-02-23 18:47         ` Ray Blaak
2008-02-24  7:40           ` adaworks
2008-02-24  9:42             ` Ray Blaak
2008-02-24 20:41               ` adaworks
2008-02-25  2:37                 ` Ray Blaak
2008-02-25  7:06                   ` adaworks
2008-02-25 13:12                     ` Robert A Duff
2008-02-25 17:44                     ` Ray Blaak
2008-02-25 22:16                       ` Ray Blaak
2008-02-26  5:10                         ` John W. Kennedy
2008-02-26 19:08                           ` Ray Blaak
2008-02-26  7:11                         ` adaworks
2008-02-26 13:38                           ` Stephen Leake
2008-02-26 14:56                             ` adaworks
2008-02-26 19:15                               ` Ray Blaak
2008-02-26 19:13                           ` Ray Blaak
2008-02-26 21:25                             ` Ray Blaak
2008-02-27  1:15                               ` Robert A Duff
2008-02-26  7:06                       ` adaworks
2008-02-26 11:42                       ` Alex R. Mosteo
2008-02-26 15:05                         ` adaworks
2008-02-26 15:15                           ` Alex R. Mosteo
2008-02-24 17:26             ` Robert A Duff
2008-02-23 20:46         ` Robert A Duff
2008-02-24  7:31           ` adaworks
2008-02-24 17:20             ` Robert A Duff
2008-02-24 20:33               ` adaworks
2008-02-25  1:07                 ` Robert A Duff
2008-02-26  7:29                   ` adaworks
2008-02-26 19:22                     ` Ray Blaak
2008-02-27  1:58                       ` adaworks [this message]
2008-02-27 20:34                         ` Ray Blaak
2008-02-27 22:31                           ` Robert A Duff
2008-02-27 23:35                             ` Ray Blaak
2008-02-28  0:19                               ` Randy Brukardt
2008-02-28  9:18                               ` Georg Bauhaus
2008-02-29  5:57                             ` adaworks
2008-02-29  6:04                               ` Ray Blaak
2008-02-29 10:48                                 ` Alex R. Mosteo
2008-02-29 17:05                                 ` adaworks
2008-02-29 18:33                                   ` Ray Blaak
2008-02-29  6:10                           ` adaworks
2008-02-22 22:16 ` Jeffrey R. Carter
2008-02-23 13:44 ` Brian Drummond
2008-02-23 17:19   ` adaworks
2008-02-25  7:53 ` Jean-Pierre Rosen
replies disabled

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