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,93153d8842cbd22c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: finding code in Eclipse References: <7b717648a62736054910462f4310153d@dizum.com> <4E44EE06.80002@obry.net> <38c66207-4999-4994-9bc4-cae59f099618@b19g2000yqj.googlegroups.com> <2dnwm3zcqt9z$.pmbip3c5mrxx$.dlg@40tude.net> Date: Sat, 13 Aug 2011 03:58:19 -0400 Message-ID: <82r54pzqsk.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:bJdWDADZgez/ZxcOv7AzG8kED7Q= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 49b1b4e462e93e029e66130468 Xref: g2news1.google.com comp.lang.ada:20591 Date: 2011-08-13T03:58:19-04:00 List-Id: "Dmitry A. Kazakov" writes: > On Fri, 12 Aug 2011 05:29:56 -0700 (PDT), Britt wrote: > >> On Aug 12, 4:10 am, Pascal Obry wrote: > >>> Why this old version? >>> >>> GNAT GPL 2011 come with a version for the JVM. >>> >> And the User's Guide is here: >> http://www.adacore.com/wp-content/files/auto_update/gnatvm-docs/jgnat_ug.html >> http://www.adacore.com/wp-content/files/auto_update/gnatvm-docs/jgnat_ug.pdf > The list of limitations (Section 11) is rather long. It is difficult to > estimate the consequences. Some examples: > > - "Limited support for controlled types" > a bit vague, can mean anything. > > - "Null arrays with multiple dimensions" > That could be non-starter for LA numerical libraries. > > - "Representation attributes" + "Unchecked_Conversion between different non > scalar types" > This could mean that typical implementation of I/O protocol would not work > > - "User-defined Storage_Pools" > This eliminates certain implementation of container libraries. > > - "Wide_String and Wide_Wide_String" > I would not shed tears about that, but some could. Anyway what was the > problem with them? Interesting. I would guess that they want to use the jvm types as much as possible, to make it easier to generate Ada bindings to existing Java libraries (using the jvm2ada tool). I'm not clear how that leads to these restrictions. But see section 8.4: "Java does not have multidimensional arrays". That might explain why you can't have null arrays with multiple dimensions. I certainly want to be able to generate bindings to all the Android libraries! -- -- Stephe