comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: finding code in Eclipse
Date: Sat, 13 Aug 2011 03:58:19 -0400
Date: 2011-08-13T03:58:19-04:00	[thread overview]
Message-ID: <82r54pzqsk.fsf@stephe-leake.org> (raw)
In-Reply-To: 2dnwm3zcqt9z$.pmbip3c5mrxx$.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> On Fri, 12 Aug 2011 05:29:56 -0700 (PDT), Britt wrote:
>
>> On Aug 12, 4:10 am, Pascal Obry <pas...@obry.net> 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



      reply	other threads:[~2011-08-13  7:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 11:49 finding code in Eclipse Stephen Leake
2011-08-10 12:49 ` Dmitry A. Kazakov
2011-08-10 13:00   ` Marc C
2011-08-11  4:38     ` Stephen Leake
2011-08-11  4:35   ` Stephen Leake
2011-08-11  7:58     ` Dmitry A. Kazakov
2011-08-12  5:09       ` Randy Brukardt
2011-08-12  8:35         ` Dmitry A. Kazakov
2011-08-12  8:55         ` Nomen Nescio
2011-08-12  9:10           ` Pascal Obry
2011-08-12 12:29             ` Britt
2011-08-12 13:04               ` Dmitry A. Kazakov
2011-08-13  7:58                 ` Stephen Leake [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox