comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Ada 'hello world' for Android; success! (but music player failure)
Date: Wed, 30 Nov 2011 19:57:16 +0100
Date: 2011-11-30T19:57:17+01:00	[thread overview]
Message-ID: <4ed67c8c$0$7628$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <827h2i9tdu.fsf@stephe-leake.org>

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).)





      reply	other threads:[~2011-11-30 18:58 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27  1:18 Ada 'hello world' for Android; success! Stephen Leake
2011-10-27  7:12 ` Alex R.  Mosteo
2011-10-28 12:51   ` Stephen Leake
2011-10-27 10:50 ` Jeffrey Creem
2011-10-28 13:01   ` Stephen Leake
2011-10-27 10:58 ` Brian Drummond
2011-10-28  1:37 ` Shark8
2011-10-28 12:22 ` Anatoly Chernyshev
2011-10-29 13:37   ` Stephen Leake
2011-10-29 14:46     ` Anatoly Chernyshev
2011-10-29 20:47       ` Brad Moore
2011-10-29 21:59         ` Anatoly Chernyshev
2011-10-30  3:51           ` Brad Moore
2011-10-30  7:20             ` Anatoly Chernyshev
2011-10-30 10:56       ` Stephen Leake
2011-10-30 17:32         ` Brad Moore
2011-10-29 15:32     ` Georg Bauhaus
2011-10-29 16:09       ` Simon Wright
2011-10-29 17:32         ` tmoran
2011-10-30 11:38           ` Stephen Leake
2011-10-29 20:51         ` Brad Moore
2011-10-30 11:32       ` Stephen Leake
2011-10-31 22:34         ` Randy Brukardt
2011-11-01  8:41           ` Stephen Leake
2011-11-01  9:30         ` Georg Bauhaus
2011-11-02 15:55           ` Stephen Leake
2011-11-02 17:37             ` Robert A Duff
2011-11-08  3:56               ` Randy Brukardt
2011-11-03  0:37             ` Georg Bauhaus
2011-11-03 11:36               ` Stephen Leake
2011-11-03 15:24                 ` Robert A Duff
2011-11-03 18:43                   ` Pascal Obry
2011-11-03 22:14                 ` Georg Bauhaus
2011-11-04  8:48                   ` Dmitry A. Kazakov
2011-11-04 12:18                   ` Stephen Leake
2011-11-04 15:03                     ` Georg Bauhaus
2011-11-05 16:56                       ` Stephen Leake
2011-11-01  9:52         ` Dmitry A. Kazakov
2011-11-02 15:59           ` Stephen Leake
2011-11-02 16:27             ` Dmitry A. Kazakov
2011-11-02 17:38               ` Simon Wright
2011-11-10 17:25 ` Stephen Leake
2011-11-27 15:18 ` mockturtle
2011-11-28 22:35   ` Ada 'hello world' for Android; success! (but music player failure) Stephen Leake
2011-11-29 11:23     ` Georg Bauhaus
2011-11-30  3:33       ` Stephen Leake
2011-11-30 18:57         ` Georg Bauhaus [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