comp.lang.ada
 help / color / mirror / Atom feed
From: ezkcdude <zamir.evan@gmail.com>
Subject: Re: Newbie Needs Ada Advice
Date: 3 May 2007 15:14:44 -0700
Date: 2007-05-03T15:14:44-07:00	[thread overview]
Message-ID: <1178230484.477843.246300@u30g2000hsc.googlegroups.com> (raw)
In-Reply-To: <13vhf5k6nma46$.12ppi114g4m13$.dlg@40tude.net>

Thanks, Dmitry! That was helpful.
-evan

On May 3, 1:24 pm, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> On 3 May 2007 10:13:38 -0700, ezkcdude wrote:
>
> > I'm interested in using Ada, so I installed the GNAT compiler on
> > Windows (tried on Mac, but I had problems with X11). Anyway, I want to
> > dive in head-first, and my main question is how do you guys write
> > programs with GUIs?
>
> There are lots of bindings and GUI libraries out here. Here is a list:
>
> http://www.adapower.com/index.php?Command=Class&ClassID=AdaGUI&Title=...
>
> > Do you use the gdk toolkit primarily?
>
> Yes, I am using GTK+ (through GtkAda bindings). It does not make me happy.
> GTK+ does not, I mean. IMO, GTK+'s ideology is quite alien to Ada.
>
> And Windows (did you speak about Windows?) support in GTK+ is not that
> perfect. But I am sure you will be able to get most of what you wished.
>
> > Also, the
> > application I eventually have in mind is for automated control of a
> > microscope, so I need to be able to interface with drivers/serial
> > ports/firewire/etc.
>
> That should not be a problem if you have drivers for. From Ada you can do
> whatever OS calls you wished.
>
> > Do you have any advice for me to help me along?
>
> I would say that for automation, a proper use of tasking is essential. If
> your data flow and control is fast, you might get problems with the
> event-controlled design of GUI. This is a weak point of many GUI libraries.
> You might wish to consider a time-controlled visualization architecture.
>
> Don't try to optimise your code in advance. In these times computers are
> quite fast, while sensors and actuators are comparatively slower. So you
> can sacrifice some performance for a cleaner software design. Further many
> ad-hoc assumptions about efficiency of this or that language construct
> often turn wrong. 5-10 ms soft real-time is no more a problem.
>
> --
> Regards,
> Dmitry A. Kazakovhttp://www.dmitry-kazakov.de





  reply	other threads:[~2007-05-03 22:14 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 [this message]
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
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