comp.lang.ada
 help / color / mirror / Atom feed
From: Gour <gour@atmarama.net>
Subject: Re: Ada-Python demo
Date: Fri, 12 Jul 2013 12:40:37 +0200
Date: 2013-07-12T12:40:37+02:00	[thread overview]
Message-ID: <20130712124037.6adb6430@atmarama.noip.me> (raw)
In-Reply-To: 7619c730-b138-4bd9-a0e7-9c80d26f7f00@googlegroups.com

On Fri, 12 Jul 2013 00:53:19 -0700 (PDT)
Maciej Sobczak <see.my.homepage@gmail.com> wrote:

> It makes perfect sense, especially if you take into account that GUI
> in Ada is kind of shaky subject. 

Yeah, I'm aware of it...too bad there is no one *common* QtAda project.
:-/

> This might be a valid idea also for teams where some programmer(s)
> might be more Ada-oriented while other(s) might happen to be Python
> fans - problem solved, all programmers will be happy. :-)

Well, it sounds better than we tried to use only Haskell and few of
(potential) contributors just run away in fear. :-)

otoh, I'm a little concerned about what will happen with type-safety
when entering data into Python-powered GUI loop and rendering it back
after being processed by Ada part?

if the cost is too hight, then it's maybe better to wrestle with GUI in
Ada.

> On the other hand, in the context of writing GUI I would consider
> even more options. Extending Python interpreter with Ada modules
> means that there exists a single process that does everything. Why
> not divide the whole application into separate processes: one (or
> many) handling the business logic and another for the UI. 

That's one possibility.

> This can open some interesting options like having desktop GUI
> (Python? Java?  etc.) *and* web-based interface (AWS? Java? etc.)
> *and* perhaps even something else (mobile app?) for the same
> functionality. 

At the moment, I simply do not believe that web interface can replace
desktop GUI, at least, in our case.

Otoh, using Qt(5) seems to cover many/most of those interfaces by
staying within the realm of Qt only.

> No, I'm not trying to discourage you from the Ada-Python integration
> (what would be the point of creating the demo? :-) ), but keeping
> alternatives in the back of our minds is probably a good idea.

Certainly it is. However, at the moment I still believe that desktop is
the interface which would be most appropriate and/or mostly used.


Sincerely,
Gour

-- 
The spirit soul bewildered by the influence of false ego thinks 
himself the doer of activities that are in actuality carried out 
by the three modes of material nature.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810



  parent reply	other threads:[~2013-07-12 10:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11 21:12 Ada-Python demo Maciej Sobczak
2013-07-12  5:57 ` Gour
2013-07-12  7:53   ` Maciej Sobczak
2013-07-12  8:33     ` Thomas Løcke
2013-07-12 10:40     ` Gour [this message]
2013-07-12 12:56     ` Marc C
2013-07-12 15:51       ` Gour
2013-07-12 17:11         ` Marc C
2013-07-12 19:16           ` Gour
2013-07-13 21:06       ` Maciej Sobczak
2013-07-15  6:43         ` Peter Brooks
2013-07-15  7:44           ` Georg Bauhaus
2013-07-15  8:10           ` Maciej Sobczak
2013-07-15  9:16             ` Peter Brooks
2013-07-15 17:44         ` Marc C
replies disabled

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