comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: SGI inheriting C++ classes ...
Date: 22 Nov 1994 09:24:31 -0500
Date: 1994-11-22T09:24:31-05:00	[thread overview]
Message-ID: <3asuuv$blb@gnat.cs.nyu.edu> (raw)
In-Reply-To: CzMI41.L64@ois.com

Bill, regarding your "no more than 200 calls". You have a very peculiar
idea of what is going on. The bindings are not just a bunch of procedure
calls that are independent and may or may not be used.

For each C++ class that is duplicated exactly on the Ada side, there is
a large body of C++, and hence Ada 9X binding, code that describes the
structure of the class. When you use such a class in Ada 9X, you may not
explicitly be calling all the member functions, but they all have to be
properly declared and understood by the 9X binding, so that the data
structures, including dispatching tables, are layed out right.

Thus a single call, or declaration of an object, in the 9X code, can
very well involve hundreds of lines of interface code, which must be
exactly right for the single call to work right.




  reply	other threads:[~1994-11-22 14:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-17 21:46 SGI inheriting C++ classes Bennett, Chip (KTR) ~U
1994-11-18  2:47 ` David Weller
1994-11-18 23:09 ` Tom Quiggle
1994-11-19  5:13   ` Cyrille Comar
1994-11-19  7:12 ` Robert Dewar
1994-11-21 15:09   ` R. William Beckwith
1994-11-22 14:24     ` Robert Dewar [this message]
1994-11-23 17:42       ` Tom Quiggle
replies disabled

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