comp.lang.ada
 help / color / mirror / Atom feed
* Re: Programming X Windows...
@ 1996-10-22  0:00 G. Vincent Castellano
  1996-10-23  0:00 ` Quality of Thin Bindings (was: Programming X Windows...) Larry Kilgallen
  0 siblings, 1 reply; 3+ messages in thread
From: G. Vincent Castellano @ 1996-10-22  0:00 UTC (permalink / raw)



% 
% I have never seen a thin Ada binding I liked, although I will admit
% to not having seen bindings from many sources.  The ones I have seen
% seem to be done "on the cheap" with no attempt to use derived numeric
% types to separate the "number of apples" cells from the "number of
% oranges" cells.
% 

First, with Ada 95's general access types, modular types
and access to subprograms, it is much easier to create thin
bindings whose typing corresponds reasonably closely to the
original interface.  Have you looked at any Ada 95 bindings?

Second, the determination of how and where to define derived
types is often impossible to determine from the 'original
text' of the interface you're binding to.  If the interface
was not originally designed with the subtype/derived type
issue in mind, it's pretty tough to graft one on as an 
afterthought.
 -----------------------------------------------------------------------
 -    G. Vincent Castellano, Sr. Software Engineer, OC Systems Inc     -
 -   gvc@ocsystems.com :: X/Ada WWW => http://www.ocsystems.com/xada   -
 -----------------------------------------------------------------------
 - "If virtual memory did not exist, it would                          -
 -   have become necessary for us to invent it."                       -
 -----------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-10-24  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-22  0:00 Programming X Windows G. Vincent Castellano
1996-10-23  0:00 ` Quality of Thin Bindings (was: Programming X Windows...) Larry Kilgallen
1996-10-24  0:00   ` Mitch Gart

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