comp.lang.ada
 help / color / mirror / Atom feed
From: munck@Mill-Creek-Systems.com (Robert Munck)
Subject: Re: An interesting quote on Java and C++
Date: 1997/09/10
Date: 1997-09-10T03:36:17+00:00	[thread overview]
Message-ID: <34160feb.36797713@news.mindspring.com> (raw)
In-Reply-To: EG9rCz.5pH@world.std.com


On Wed, 10 Sep 1997 01:41:22 GMT, bobduff@world.std.com (Robert A
Duff) wrote:

>...  But it's clear from the Java language documents that two
>goals of Java are (1) avoid security flaws, and (2) portability
>at the cost of efficiency.
>
>Ada meets neither of those goals.

And Java does?

I know little about language design for high-security systems,
so I'll leavel #1 for others.  On #2, it seems to me that Ada
has more effort invested in portability than any other language.
Little things like the Validation Suite.  Given that Ada95 can
be compiled to the JVM with the Intermetrics compiler, Ada must
be at least as portable as Java.  I guess that the part of #2
that Ada doesn't meet is "at the cost of efficiency."


>Consider, for example, that if X+Y overflows, Java
>gives the wrong answer, but always the same answer on all targets.

Not currently true, and I'd be willing to bet that it never
will be.  Java has horrible portability problems and they're
getting worse as JIT compilers begin to be used.  Why do you
think Sun is pushing so hard on "100% Pure Java(TM)?" They
know that the only prayer they have of any level of
portability is having all of the JVM implementations come
from one source.

In fact, there seems to be a race between the number of
portability flaws and the number of security flaws in Java.


>...  Java doesn't meet Ada's "strawman" goals,
>but of course it doesn't try to.  It has different goals.

Ok, which of Ada's goals, which Java doesn't even try
to meet, are undesirable for any language?  Code readibility?
Architecture consistency? The ability to write safety-
critical code?

Let's face it, the main goal of Java is to keep Sun
in business.

Bob Munck
Mill Creek Systems LC





  parent reply	other threads:[~1997-09-10  0:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-03  0:00 An interesting quote on Java and C++ Nasser
1997-09-03  0:00 ` Samuel Mize
     [not found] ` <01bcb881$915526a0$d7000064@sim01.amst.co.at>
1997-09-03  0:00   ` Robert Munck
1997-09-05  0:00     ` Joachim Schroeer
1997-09-06  0:00     ` Robert Dewar
1997-09-24  0:00     ` Shmuel (Seymour J.) Metz
1997-09-08  0:00   ` Robert A Duff
1997-09-09  0:00     ` Robert Munck
1997-09-10  0:00       ` Robert A Duff
1997-09-10  0:00         ` Stephen Leake
1997-09-11  0:00           ` Roy Grimm
1997-09-12  0:00             ` Robert A Duff
1997-09-10  0:00         ` Robert Munck [this message]
1997-09-11  0:00           ` Robert Dewar
1997-09-12  0:00             ` Robert A Duff
1997-09-18  0:00               ` Shmuel (Seymour J.) Metz
1997-09-19  0:00                 ` Robert A Duff
1997-09-20  0:00                   ` Robert Dewar
1997-09-20  0:00                 ` Robert Dewar
1997-10-03  0:00                   ` Robert I. Eachus
1997-09-20  0:00                 ` Robert Dewar
1997-09-22  0:00                   ` Robert A Duff
1997-09-12  0:00             ` Jon S Anthony
1997-09-12  0:00         ` Jon S Anthony
1997-09-11  0:00       ` Robert Dewar
1997-09-12  0:00         ` Jon S Anthony
1997-09-12  0:00           ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
1997-09-25  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1997-09-25  0:00 ` Shmuel (Seymour J.) Metz
1997-09-26  0:00   ` Tucker Taft
1997-10-07  0:00   ` Robert I. Eachus
1997-11-19  0:00     ` Shmuel (Seymour J.) Metz
1997-10-08  0:00 Marin David Condic, 561.796.8997, M/S 731-96
1997-10-09  0:00 ` Shmuel (Seymour J.) Metz
replies disabled

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