From: Patrick <patrick@spellingbeewinnars.org>
Cc: mailbox@dmitry-kazakov.de
Subject: Re: Ada Library, called, returns and continues ?
Date: Mon, 17 Dec 2012 07:58:48 -0800 (PST)
Date: 2012-12-17T07:58:48-08:00 [thread overview]
Message-ID: <a73b16fa-27d2-4946-bd04-11b3691408f0@googlegroups.com> (raw)
In-Reply-To: <pkmosdowdp4d.sabn3zzpwhxy$.dlg@40tude.net>
Hi Dmitry
"100K lines of GUI code or 100K lines altogether? "
The whole toolkit. I can understand this with difficulty. I was thinking about reworking FLTK. I wanted to write a C wrapper around it's C++ core and then bind to this. I was thinking the widgets could then be rewritten in Ada. I still might do this but my family demands have intensified again. I haven't programmed in a month and I looking for something easier.
I was thinking that if I could bind an Ada entry to C, I could use a gui toolkits idle callback to retrieve information that could be processed in the back ground such as data being collected from an instrument, a bitmap image being generated from svg etc..
If a protected object and it's entries are bound to a C/C++ application with it's own main, do you think the Ada threads will begin when the C main is called or would I need to create an initialization for them? If they just started, main C could call an entry or If I used a protected record I could also access this as a struct and retrieve data this way. Do you think I could send data back and forth through the protected record?
'You also need support for unsolicited calls from Ada tasks. Consider a
progress bar indicator driven by an Ada task. At some point it should send
a message to the main thread to update the bar state. The main thread has
no idea about when and if that could happen. "
yes, I don't know how to do this but perhaps I can do this in a year or so when I am further along.
> I know eval is evil but if used
> sparingly I think it could be quite powerful
"No, it is not."
Okay, I stay away from it.
Thanks again for your feedback.
next prev parent reply other threads:[~2012-12-17 15:58 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 [this message]
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
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