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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2e5075246df9e43b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 30 May 2009 02:17:24 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT and JVM References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a207b14$0$30228$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 30 May 2009 02:17:24 CEST NNTP-Posting-Host: aa424d07.newsspool1.arcor-online.net X-Trace: DXC=d?AGlT[o2f2=FQB?mjjV50ic==]BZ:af>4Fo<]lROoR1^YC2XCjHcb9gPe34h[3m1=A:ho7QcPOV3e`cDl?o>2=4]Z?50m9I;c6 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6109 Date: 2009-05-30T02:17:24+02:00 List-Id: raould wrote: > There are some things I would kinda like to know re: the recent > announcements. They do a lousy job of explaining WTF their system > actually can do, and how it does it. All buzzwords (JVM! .Net!) and > very insufficient technical details :-( Technical detail, tutorial examples, and a supplement to the User's Guide can be found in the \doc subdirectory after installation. > a) which Java/.Net VMs does it really support? 1.5, 1.6. > b) is it just the JNI bridge, No. JGNAT is a bytecode compiler. SofCheck's AppletMagic is a bytecode compiler, too. They both produce .class files. If you like, you can write Ada packages that mimic Java class structure. You needn't do that, though. If you do, then Java programmers can unknowingly use Ada packages as if they had been written in Java. The basic idea is to follow certain conventions when you write the Ada package. (One tagged type, a controlling parameter of the type, and pragmas for controlling the mapping to JVM things like constructors).