comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Ada-Python demo
Date: Fri, 12 Jul 2013 00:53:19 -0700 (PDT)
Date: 2013-07-12T00:53:19-07:00	[thread overview]
Message-ID: <7619c730-b138-4bd9-a0e7-9c80d26f7f00@googlegroups.com> (raw)
In-Reply-To: <20130712075752.46e2cf01@atmarama.noip.me>

> Thank you. Read your article about calling Ada modules from within
> Python and wonder, if you explored that idea further, what do you think
> if it would be feasible to write the whole back-end/libraries of
> application using Ada and then glue everything together in GUI app
> written with PyQt?

It makes perfect sense, especially if you take into account that GUI in Ada is kind of shaky subject. 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. :-)

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. 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.
In this case, instead of investing into inter-language integration at the level of Python interpreter (note that it basically binds you to a single scripting language) I would consider going full distributed.

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.

-- 
Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com

  reply	other threads:[~2013-07-12  7:53 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 [this message]
2013-07-12  8:33     ` Thomas Løcke
2013-07-12 10:40     ` Gour
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