From: Dale Stanbrough <dale@cs.rmit.edu.au>
Subject: Re: Ada to Motif bindings
Date: 2000/04/10
Date: 2000-04-10T00:00:00+00:00 [thread overview]
Message-ID: <dale-A1924C.22012910042000@news.rmit.edu.au> (raw)
In-Reply-To: 38F17693.F32F2074@home.com
Glen Cornell wrote:
> Ah! A loaded question. I wouldn't be so foolish to voice my opinion to
> the world!
>
> I will point out that Xlib/Xt/Xm programming in Ada brings a new source
> of potential errors:
>
> 1. Ada-c type conversions.
The family of packages Interfaces.C{.xx} provides good support for
talking to C with compatable types. Certainly roll your own bindings
would be subject to errors. Computer generated ones perhaps less so.
I generally had good experiences with the X/Motif bindings.
> 2. Ada run-time conflicts with the Xt process model.
Not quite sure what you mean here. Perhaps you could give an example.
> 3. Ada threads and the single-threaded nature of X.
Not a problem if you don't use Ada tasks, so there it is no
worse than C.
The only real area that -is- painful, is the use of variable argument
lists (XtVaAppInitialize is an example)
Dale
next prev parent reply other threads:[~2000-04-10 0:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-03 0:00 Ada to Motif bindings John Standard
2000-04-03 0:00 ` David Botton
2000-04-05 0:00 ` Ada to XRT bindings John Standard
2000-04-15 0:00 ` james hopper
2000-04-05 0:00 ` Ada to Motif bindings Glen Cornell
2000-04-05 0:00 ` Ted Dennison
2000-04-05 0:00 ` Marc CHEVRIER
2000-04-05 0:00 ` Ted Dennison
2000-04-06 0:00 ` Glen Cornell
2000-04-06 0:00 ` dale
2000-04-10 0:00 ` Glen Cornell
2000-04-10 0:00 ` Ted Dennison
2000-04-11 0:00 ` Simon Wright
2000-04-12 0:00 ` Jean-Pierre Rosen
2000-04-10 0:00 ` Dale Stanbrough [this message]
2000-04-10 0:00 ` Larry Kilgallen
2000-04-11 0:00 ` Simon Wright
2000-04-05 0:00 ` Larry Kilgallen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox