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: a07f3367d7,56db3eee240cdf91 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Newsgroups: comp.lang.ada Subject: Re: Crazy idea: Ada for Android? (A4A?) References: <86c764d0-b54d-479d-80d2-860cf606900d@g25g2000yqn.googlegroups.com> Date: Sun, 07 Nov 2010 19:02:39 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Martin Krischik" Organization: Martin Krischik, Softwareentwicklung Message-ID: User-Agent: Opera Mail/10.63 (MacIntel) NNTP-Posting-Host: 89.236.182.97 X-Trace: news.sunsite.dk DXC=0MM5oJL?eYHe:i55N5G3eEYSB=nbEKnkKOoZn^kHoPeHS5daR30PdPEV:_8RJBabHM?QA2cYN[o4A Am 07.11.2010, 11:48 Uhr, schrieb mockturtle : > Dear.all, > I just read an article (on a paper magazine, so no link available) > about Android. As I understand, Android applications are executed by > Dalvik, a specially-tailored Java VM and that there is a converter > from Java VM to Dalvik. Yes. That »converter« (called aapt) is the default way to develop. > Since jgnat translates Ada to JVM... The idea > of being able to write Android applications in Ada is too > attractive... Do you believe that it is too ambitious a goal to try to > bring Ada to the Android world? (I have also a nice acronym with > minimal clashes: A4A :-) :-) :-) I tried Scala for Android and it did work. However: Scala needs a 6MB runtime library. aapt needs minute or so (on a 8 core MacPro) to convert that library and the result is 6 times big as an average Android application. So Scala is only an option for devices where you can pre-install the runtime library. That is: phones where you have root access. So translated to Ada that means either “pragma No_Runtime;” (painful) or again pre-install the runtime-library (no good for customer devices). Alternatively there is the NDK for native non-VM development. But that would only be do-able for Ada-Core itself. Regards Martin -- Martin Krischik mailto://krischik@users.sourceforge.net https://sourceforge.net/users/krischik