comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada Library, called, returns and continues ?
Date: Tue, 18 Dec 2012 10:17:57 +0100
Date: 2012-12-18T10:17:57+01:00	[thread overview]
Message-ID: <1i2sghp4ue0mm.1kozrtpxq33n1.dlg@40tude.net> (raw)
In-Reply-To: 6f3c34d9-504a-494c-9157-2cf2649e4776@googlegroups.com

On Mon, 17 Dec 2012 15:42:35 -0800 (PST), Patrick wrote:

> "I don't understand this. To use GTK outside GtkAda bindings? What for? "
> 
> Yeah, I can understand this reaction, it is weird. Things might have
> changed now but basically I couldn't understand the Ada binding in the
> detail I wanted.

Implementation of bindings or the way of using them?

> I was thinking about writing a skeleton C application and
> then binding Ada to it to sort of script it. I failed at the time.

No wonder. C makes things only more complicated. If you have difficulties
with Ada, multiply that by two for C, and once more by two for integration
C and Ada components.
 
> "in that case you should find a GUI framework for which there already exist
> ready-to-use bindings. If I ever looked into Gtk sources then only for
> finding Gtk bugs. It would be a horror scenario if looking into the sources
> were required for daily GUI developing. Gtk is far from perfect but at
> least this torture you are spared from. I am sure that the same could be
> said about any other popular GUI framework. "
> 
> Yes, I understand your logic. However if I ever have the time or acquire
> the skills I would like to write an entire toolkit directly in Ada. I
> think the only feasible way to do this is to port the code over from
> another existing toolkit and to pick a very small one to port.

I see, it is difficult to learn how to drive a car. In order to ease the
process you decided to build a new car by yourself... (:-))
 
-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2012-12-18  9:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16 19:21 Ada Library, called, returns and continues ? Patrick
2012-12-16 19:51 ` Simon Wright
2012-12-16 20:26 ` Dmitry A. Kazakov
2012-12-16 23:13   ` Patrick
2012-12-17  8:59     ` Dmitry A. Kazakov
2012-12-17 15:58       ` Patrick
2012-12-17 17:08         ` Simon Wright
2012-12-17 17:43           ` Patrick
2012-12-17 18:09         ` Dmitry A. Kazakov
2012-12-17 19:41           ` Patrick
2012-12-17 21:26             ` Dmitry A. Kazakov
2012-12-17 23:42               ` Patrick
2012-12-18  0:30                 ` Randy Brukardt
2012-12-18  1:36                   ` Patrick
2012-12-18 23:10                     ` Randy Brukardt
2012-12-18  9:17                 ` Dmitry A. Kazakov [this message]
2012-12-18 15:00                   ` Patrick
2012-12-18 15:37                     ` Dmitry A. Kazakov
2012-12-18 16:14                       ` Patrick
2012-12-18 17:25                         ` Dmitry A. Kazakov
2012-12-18 16:50                   ` Robert A Duff
     [not found]                 ` <2nr1d89tvkc3h0dvcd62tpsf1vujsdb09o@invalid.netcom.com>
2012-12-18 23:54                   ` Patrick
replies disabled

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