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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID 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: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: An interesting quote on Java and C++ Date: 1997/09/11 Message-ID: #1/1 X-Deja-AN: 271675192 References: <5ujjvq$t4s@drn.zippo.com> <01bcb881$915526a0$d7000064@sim01.amst.co.at> <34157a82.81185415@news.mindspring.com> <34160feb.36797713@news.mindspring.com> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-09-11T00:00:00+00:00 List-Id: <<>... 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.>> be careful not to compare the reality of Ada with the Sun (and other) hype on Java. In the current state of things, Java is nowhere NEAR as portable as Ada, it is almost the normal case that an applet of any complexity written on one platform is likely not to work on another platform. As a further indication of the gap between reality and hype, I am corresponding with a student in Europe who is looking at portability of IEEE floating-point between compilers for the same language. He wrote to me that "Ada is doing very well, things seem to be extremly portable between one implementation and another ........" but "Java seems a complete mess, I can't get any of my IEEE fpt examples to port between Java implementations." And this from a language that supposedly requires IEEE (although this requirement is the subject of controversy in the ISO standards committee). Of course you can say, well that's because the implementations are decrepit, just wait and see, but then we are back to talking about implementatins and not languages. As for security, this is a matter of implementation, not the language. Indeed, there are all kinds of Java restrictions that must be adhered to for secure applet delivery that are not enforced by Java itself. And of coruse if you use an Ada->JVM system, then by definition this has the same level of security, since the security is implemented at the JVM level, not at the Java level.