comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Newbie Needs Ada Advice
Date: Tue, 08 May 2007 20:20:35 +0200
Date: 2007-05-08T20:20:35+02:00	[thread overview]
Message-ID: <87irb3p47g.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 1178642979.016955.3670@n59g2000hsh.googlegroups.com

ezkcdude writes:
> As for your reply, thanks, so much! You guys are awesome. I'm not
> sure I'm any closer to an answer, but at least, I know a lot of the
> questions involved. At this point, that's enough for me.

At one point you asked whether writing the "engine" in Ada and the GUI
in another language was a option; the answer is "yes, there are
several ways".  But OTOH you seem reluctant to learn more than one
language, and you also seem to lack experience with GUI programming,
so you're unbiased as to which toolkit you should use.

Personally I used Java Swing about 7 years ago, and wrote a quick toy
GUI with GtkAda a couple of years ago in one afternoon.  I used glade,
generated Ada code from the XML file and, wanting to learn more by
myself, rewrote the Ada by hand in what I thought was a cleaner way.
I think both Java/Swing and Ada/GtkAda are equally difficult, or
equally easy, to use.  If you like you can browse the sources for this
toy program here:

http://www.ada-france.org:8081/branch/changes/org.ludovic-brenta.meyse

(the licese is PURE GPL, sorry Markus :)).  You'll notice that the
"engine" and GUI are in separate packages, and the program runs
equally well on the command line as with a GUI (i.e. with a command
line parameter, it doesn't start the GUI).

So, if I were you I'd go for GtkAda and avoid learning another
language just for the GUI.  But rest assured that no matter what
language and toolkit you use, GUI programs are many times larger and
more complex than command-line programs, and be prepared to spend most
of your time doing "boring" stuff like building dialog boxes.  Also be
prepared for a steep learning curve with any toolkit you choose.
Sounds like a lot of fun, doesn't it?

-- 
Ludovic Brenta.



  reply	other threads:[~2007-05-08 18:20 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 17:13 Newbie Needs Ada Advice ezkcdude
2007-05-03 18:24 ` Dmitry A. Kazakov
2007-05-03 22:14   ` ezkcdude
2007-05-04  4:07 ` tmoran
2007-05-04 12:57   ` Bob Spooner
2007-05-04 13:38     ` Dmitry A. Kazakov
2007-05-04 14:40       ` ezkcdude
2007-05-04 19:19       ` Bob Spooner
2007-05-04 19:48         ` Dmitry A. Kazakov
2007-05-06 21:46           ` ezkcdude
2007-05-07  7:31             ` Dmitry A. Kazakov
2007-05-07  7:42             ` Alex R. Mosteo
2007-05-07  9:15               ` Dmitry A. Kazakov
2007-05-08  2:58             ` Justin Gombos
2007-05-08 11:58               ` ezkcdude
2007-05-04  4:42 ` Jeffrey R. Carter
2007-05-04  6:48 ` Jacob Sparre Andersen
2007-05-07  8:01 ` Markus E Leypold
2007-05-08 14:40   ` ezkcdude
2007-05-08 15:07     ` Pascal Obry
2007-05-08 15:27       ` ezkcdude
2007-05-08 15:54         ` Pascal Obry
2007-05-08 16:07         ` Georg Bauhaus
2007-05-08 18:42           ` Markus E Leypold
2007-05-08 16:18         ` Ali Bendriss
2007-05-08 19:23         ` Michael Bode
2007-05-08 16:11     ` Markus E Leypold
2007-05-08 16:49       ` ezkcdude
2007-05-08 18:20         ` Ludovic Brenta [this message]
2007-05-08 21:17           ` Markus E Leypold
2007-05-08 18:45         ` Markus E Leypold
2007-05-08 18:28     ` Alex R. Mosteo
2007-05-08 18:51       ` ezkcdude
2007-05-08 19:31         ` Michael Bode
2007-05-08 19:43           ` Michael Bode
2007-05-08 20:02         ` Dmitry A. Kazakov
2007-05-08 21:26           ` Markus E Leypold
2007-05-08 21:21         ` Markus E Leypold
2007-05-08 21:27           ` ezkcdude
2007-05-08 21:56             ` Markus E Leypold
2007-05-09 13:25               ` Jacob Sparre Andersen
2007-05-09 15:58                 ` Markus E Leypold
2007-05-10 21:20                   ` Memory mapped files and shared memory (Was: Newbie Needs Ada Advice) Jacob Sparre Andersen
2007-05-11 16:38                     ` ezkcdude
2007-05-10 18:14     ` Newbie Needs Ada Advice Chip and Allie Orange
2007-05-27  5:50     ` adaworks
2007-05-29 12:54       ` ezkcdude
replies disabled

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