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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4cb1f8d1c17d39a8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.36.6 with SMTP id m6mr5512075pbj.4.1322679516640; Wed, 30 Nov 2011 10:58:36 -0800 (PST) Path: lh20ni46047pbb.0!nntp.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 30 Nov 2011 19:57:16 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada 'hello world' for Android; success! (but music player failure) References: <8239efcjuw.fsf@stephe-leake.org> <27491240.406.1322407095677.JavaMail.geo-discussion-forums@yqf20> <82r50ran9t.fsf_-_@stephe-leake.org> <4ed4c0af$0$6557$9b4e6d93@newsspool4.arcor-online.net> <827h2i9tdu.fsf@stephe-leake.org> In-Reply-To: <827h2i9tdu.fsf@stephe-leake.org> Message-ID: <4ed67c8c$0$7628$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 30 Nov 2011 19:57:17 CET NNTP-Posting-Host: 9f0b4c23.newsspool1.arcor-online.net X-Trace: DXC=C_D[UJLh>_cHTX3jM4XBVjX^]ZiI X-Complaints-To: usenet-abuse@arcor.de Xref: news1.google.com comp.lang.ada:19269 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2011-11-30T19:57:17+01:00 List-Id: On 30.11.11 04:33, Stephen Leake wrote: >> Alternatively, get good hardware and have SofCheck's Ada compiler---which >> outputs good C---connect your program to the Objective-C world. ;-) > > I don't see why introducing yet another language would help things. Introducing one single language besides Ada will work, which helps things a bit, in comparison. The idea is to write the "logic" part of the programs not in [Objective-]C, but in Ada, when it is considered superior to C. Then, use the Cocoa framework (or GNUStep) for I/O, including GUI, and use Objective-C. Apple asks us to write in "plain C" the parts of our programs that require the highest efficiency. With a seamless Ada->C compiler, I can instead write these parts in plain Ada, or SPARK. Since the Ada standard essentially guarantees that interfacing to and from C works well, any additional work when writing logic parts in Ada will be the writing of pragma Export and calling Ada operations from view controllers, for example. Where Ada has something to offer, such as a more expressive type system, or source text that would typically input more information to code analysis, these advantages will stay, and still I can play by the rules, using GCC or Clang/LLVM as terminal compilers. (The current state of portable GUI programming results first and foremost from the way we let a handful of companies/organizations create mutually incompatible, yet conceptually compatible, GUI programming environments, again and again. We pay them, or support them in other ways ... Sadly, the least promising solution today is wishing to pick a language such as Ada for writing GUI applications. The choice of Ada always results is some layered approach, lacking integration. Be it GTK+, AWT etc, Tk, WPF/.NET, Qt, ... If industry does not wish to change this state, then a separation of concerns can still lead to something reasonably productive, and stadard: the separation of logic (written in Ada) and GUI (written in software corporation's choice).)