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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,aef4913dd6741a38 X-Google-Thread: 113ae9,aef4913dd6741a38 X-Google-Attributes: gid103376,gid113ae9,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!wns14feed!worldnet.att.net!attbi_s71.POSTED!53ab2750!not-for-mail From: Dale King User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.lang.java.help Subject: Re: ADA vs Java References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8_Kse.61630$_o.33510@attbi_s71> NNTP-Posting-Host: 12.222.0.162 X-Complaints-To: abuse@asp.att.net X-Trace: attbi_s71 1119058948 12.222.0.162 (Sat, 18 Jun 2005 01:42:28 GMT) NNTP-Posting-Date: Sat, 18 Jun 2005 01:42:28 GMT Organization: AT&T ASP.att.net Date: Sat, 18 Jun 2005 01:42:28 GMT Xref: g2news1.google.com comp.lang.ada:11459 comp.lang.java.help:17716 Date: 2005-06-18T01:42:28+00:00 List-Id: The Wogster wrote: > Ted wrote: > >> Writing code in ADA 95 and compiling it for the JVM should produce more >> reliable code than writing in Java 2. Does anyone know any good technical >> reasons for prefering Java? >> > > The argument is more like, which language has a more reliable > conversation, French or German? Well people have been having > conversations in both, for hundreds of years. Interesting analogy, but it misses the important detail of the compiler. In your analogy of human language it would be like having a proofreader of what you were saying in the languages. In one case the proofreader is much better than the other being much more strict about grammar, making sure that you didn't have run-on sentences and passive voice. Ada is a much stricter compiler and has much stronger typing (realizing that term means different things to different people). My experience using a similar type of language (Modula-2) is that it is harder to get things to compile because the "proofreader" keeps correcting your sloppy expressions and bad grammar, but when it did compile it was much more likely to be correct when executed. The problem with translating Ada or other languages to Java is that the JVM lacks certain constructs that are part of other languages. The simplest example would be that Java lacks unsigned numerical types in a size other than 16 bits. -- Dale King