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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feeder01.blueworldhosting.com!usenet.blueworldhosting.com!feeder02.blueworldhosting.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!feeder.erje.net!eu.feeder.erje.net!news-hub.siol.net!news1.t-com.hr!.POSTED!not-for-mail From: Gour Newsgroups: comp.lang.ada Subject: Re: Ada-Python demo Date: Fri, 12 Jul 2013 12:40:37 +0200 Organization: T-Com Message-ID: <20130712124037.6adb6430@atmarama.noip.me> References: <20130712075752.46e2cf01@atmarama.noip.me> <7619c730-b138-4bd9-a0e7-9c80d26f7f00@googlegroups.com> NNTP-Posting-Host: 93-139-149-84.adsl.net.t-com.hr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ls237.t-com.hr 1373625656 8819 93.139.149.84 (12 Jul 2013 10:40:56 GMT) X-Complaints-To: abuse@t-com.hr NNTP-Posting-Date: Fri, 12 Jul 2013 10:40:56 +0000 (UTC) X-Newsreader: Claws Mail 3.9.1 (GTK+ 2.24.18; x86_64-pc-linux-gnu) X-Original-Bytes: 3424 Xref: number.nntp.dca.giganews.com comp.lang.ada:182492 Date: 2013-07-12T12:40:37+02:00 List-Id: On Fri, 12 Jul 2013 00:53:19 -0700 (PDT) Maciej Sobczak 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