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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e52be218321a9138,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!l41g2000cwc.googlegroups.com!not-for-mail From: "fabio de francesco" Newsgroups: comp.lang.ada Subject: JGNAT and JRE Date: 28 Apr 2005 15:24:50 -0700 Organization: http://groups.google.com Message-ID: <1114727090.629742.263970@l41g2000cwc.googlegroups.com> NNTP-Posting-Host: 80.181.52.213 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1114727095 11000 127.0.0.1 (28 Apr 2005 22:24:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 28 Apr 2005 22:24:55 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: l41g2000cwc.googlegroups.com; posting-host=80.181.52.213; posting-account=Lp02jQ0AAABMd3TAghNf0TM2YBZqD_JE Xref: g2news1.google.com comp.lang.ada:10790 Date: 2005-04-28T15:24:50-07:00 List-Id: Hello, Some time ago I wrote: > > I am going to write a few pages article about Ada for an Italian Linux > and Open Source devoted printed magazine. It'll be just an introduction article > to the language main features and great capabilities, it won't be a > very technical detailed one. > > [cut some more lines] > Now a first draft has been approved by the editor who however asked me to provide more informations on Ada executing on Java Virtual Machine. That was because I cited JGNAT in the article as a bytecode compiler for JVM. He thinks that the capability to compile once and execute everywhere there is run-time support could "convert" many software developers (especially Java ones) to Ada. All things considered I must agree with him, even when I'have already structured the article with respect to the language basic features. The problem is that I didn't know much more than just the existence of this capability and I'd never used it. Anyway I have been able to downloaded JRE and JGNAT, then compiling and executing some sample code. My intention was to understand something more about these tools in order to be able to provide better informations and some practical examples of this subject in the article. JGNAT seemed working fine with some simple programs until I compiled a new one that uses tasks without errors. But when I tried to execute it I got "Exception in thread "main" java.lang.IllegalMonitorStateException". What is this exception? Above all, what really matters is whether or not I can write (1) JGNAT is reliable for production use, (2) if it is actively maintained and updated, (3) if there exist any kind of practical restrictions in using it. Any answers and comments on either these issues or everything related would be very appreciated and useful in writing a good Ada introduction (I imagine it may matter many of you). Another related subject is A#, intended as another tool to write once and execute everything run-time support is provided. Some time ago I looked at M.Carlisle site where I knew it is actively maintained, but my interest run out when it seemed working only on MS-Win. Anyway someone recently told me A# should also execute in Linux with Mono. Is it true? Can someone provide much precise information about this issue? What above all interests is (1) whether or not it works with Mono, (2) if someone willing to use it must learn a different syntax from plain old Ada95, (3) if there are any issues restricting a "normal" serious production. Thanks in advance to any of you who will reply. Ciao, fabio de francesco