comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Qt or Gtk? (from an Ada perspective)
Date: Mon, 17 Sep 2012 18:22:52 +0200
Date: 2012-09-17T18:22:52+02:00	[thread overview]
Message-ID: <wck6xsy7t0ol$.kivqnry8tgza.dlg@40tude.net> (raw)
In-Reply-To: ca6d1cbf-bb42-41e9-8f9f-0d420c9d2444@googlegroups.com

On Mon, 17 Sep 2012 08:50:52 -0700 (PDT), Ludovic Brenta wrote:

> Correct and in addition, the Windows API is just as mind-boggingly
> complex as either Qt or GtkAda.

Windows GDI is much lower level comparing to GTK, but surprisingly simpler
to use, especially because it is natively multi-tasking. Though some things
are simpler with GTK, e.g. containers.

> GUI programming is complex no
> matter how you look at it.

That is because of design faults. There are many contradictory
requirements. Plus, in the case of GTK and Win32, the API become extremely
messy when defined using pure procedural decomposition, which is the only
way to get it in C.

I think that modern languages are immature to deal with GUI programming.
That includes Ada, alas. Typically a GUI is decomposed along multiple axes:
visual containment, events handling, application logic constraints, to name
few. No language supports multiple hierarchies of types needed to describe
such relationships sanely and to reuse the corresponding code.

> So, I'd vote for GtkAda.

That makes two of us. (:-)) But the be honest the choice was quite
arbitrary in my case.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2012-09-21  1:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 11:34 Qt or Gtk? (from an Ada perspective) alb348
2012-09-17 12:55 ` Patrick
2012-09-17 15:41   ` alb348
2012-09-17 15:50     ` Ludovic Brenta
2012-09-17 15:54       ` alb348
2012-09-18  6:38         ` Vadim Godunko
2012-09-17 16:22       ` Dmitry A. Kazakov [this message]
2012-09-18  5:41       ` QtAda in Debian (was: Re: Qt or Gtk? (from an Ada perspective)) Dirk Heinrichs
2012-09-18  7:16         ` Ludovic Brenta
2012-09-18 14:35           ` Dirk Heinrichs
2012-09-17 15:58     ` Qt or Gtk? (from an Ada perspective) Dmitry A. Kazakov
2012-09-17 16:21       ` J-P. Rosen
2012-09-17 20:49 ` Brian Drummond
2012-09-18  1:52 ` Stephen Leake
2012-09-18  6:28 ` Thomas Løcke
2012-09-18  8:47 ` Brian Drummond
2012-09-18  9:43   ` alb348
2012-09-18  9:49     ` alb348
2012-09-18 10:14       ` Brian Drummond
2012-09-18 10:29         ` Brian Drummond
2012-09-18 11:00           ` alb348
2012-09-24  5:32   ` J-P. Rosen
2012-09-24 20:07     ` Patrick
2012-09-24 20:30       ` Pascal Obry
2012-09-24 20:42       ` J-P. Rosen
2012-09-24 21:11       ` Simon Wright
2012-09-24 22:56         ` Patrick
2012-09-19 11:14 ` tonyg
2012-09-19 16:13 ` Rego, P.
2012-09-20 15:53 ` leonid.dulman
replies disabled

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