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,bcdd81f11a99e024 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 11 Aug 2006 11:51:25 +0200 From: Georg Bauhaus Organization: elsewhere User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: C to JVM, time to revive JGNAT? References: <20060809124902.O84175@docenti.ing.unipi.it> <8utCg.12454$E02.4571@newsb.telia.net> <1155167884.24822.49.camel@localhost> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <44dc529f$0$1394$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Date: 11 Aug 2006 11:49:20 CEST NNTP-Posting-Host: 48204a00.newsspool3.arcor-online.net X-Trace: DXC=g<`fW][d[F1lIh70@ejV8NM?5dQ`EPR;hm6h[CMoLh: X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6174 Date: 2006-08-11T11:49:20+02:00 List-Id: Björn Persson wrote: > Georg Bauhaus wrote: >> I wonder what programs you have in mind. Certainly C and Ada >> are both not the language of choice for smart phone user >> programs? > > Are you trying to demonstrate that Java runs on more platforms than Ada? > Otherwise I don't understand what you're after. I'm not after the number of platforms. There aren't that many JVMs. I'm after the programs that I can write by combining the powers of Ada and everything readily available with a JVM target. >> What kind of Java style programs can you write with just LRM Ada? > > What do you mean with "Java style"? I mean the kind of programs I had hoped to imply by mentioning smart phones, that is, mass products, perhaps GPS receivers etc.. And for example enterprise services software. The JVM is an industry standard in some industries. The cross language inheritance of "Ada classes" and "Java classes" is spectacularly transparent. Translators for some other language also produce J-code, but they just ignore the OO-module property of .class files (note the word "class"). They use wrappers and produce classes at random that cannot be used by other programs. Even though the source language is an OO language. What good is it neglecting the standards of some industries by saying, mine could better, when in fact it is really time consuming if at all possible to knit together similar solutions? And when you could just hook into this part of software production by having your Ada compiler produce class files? (Is anyone questioning the MGNAT effort btw? It's almost the same thing, even when Microsoft's VM has a number of additional facilities when compared to Sun's older VM.) I also mean the programs written in Java now that use all kinds of Java language restrictions and annotations. Some of these "Java enhancements" might be plain unnecessary when Ada is the source language for the JVM platform. Ada might already have the needed features. As another example, writing an Eclipse plugin using Ada is probably easier when the compiler produces .class files that are of the kind expected in a Java environment.