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,WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ffe4fb1477fe67e6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!aotearoa.belnet.be!news.belnet.be!feed.xsnews.nl!border-1.ams.xsnews.nl!feeder1.cambrium.nl!feed.tweaknews.nl!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Newbie Needs Ada Advice References: <1178212418.538270.283700@c35g2000hsg.googlegroups.com> <1178635220.859690.3310@y80g2000hsf.googlegroups.com> <1178642979.016955.3670@n59g2000hsh.googlegroups.com> Date: Tue, 08 May 2007 20:20:35 +0200 Message-ID: <87irb3p47g.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:b2N/4oLjo1vffxk1k33RafsUmLw= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tele2 X-Trace: DXC=>:5Pbe\NKM^cK50ZlXRB2V6`Y6aWje^YZ`Z0f;Gn 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.