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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f3f9104dada53163 X-Google-Attributes: gid103376,public From: munck@Mill-Creek-Systems.com (Robert Munck) Subject: Re: An interesting quote on Java and C++ Date: 1997/09/10 Message-ID: <34160feb.36797713@news.mindspring.com>#1/1 X-Deja-AN: 271162022 References: <5ujjvq$t4s@drn.zippo.com> <01bcb881$915526a0$d7000064@sim01.amst.co.at> <34157a82.81185415@news.mindspring.com> X-Server-Date: 10 Sep 1997 03:36:17 GMT Organization: Mill Creek Systems LC Reply-To: munck@acm.org Newsgroups: comp.lang.ada Date: 1997-09-10T03:36:17+00:00 List-Id: 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