comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: SGI inheriting C++ classes ...
Date: 19 Nov 1994 02:12:28 -0500
Date: 1994-11-19T02:12:28-05:00	[thread overview]
Message-ID: <3ak8gs$uh@gnat.cs.nyu.edu> (raw)
In-Reply-To: 2ECBCF25@SMTPGATE2.STRATCOM.AF.MIL

"Did SGI demonstrate ..."

GNAT supports fully interoperable dispatching and inheritance between GNAT
Ada and C++. FOr example, you can import a C++ class, then extend it on
the Ada side, using dynamic dispatching with it, and then reexport the
extended version back to C++. THe interface is procedurable allowing
customization for all C++ compilers we know about.

SGI has written an automatic binding generator that uses the GNAT features
(consisting of a set of specialized pragmas) to generate Ada bindings from
C++.

The demo at Tri-Ada involved the semi-automatic translation of some 40,000
lines of C++ headers from the inventor toolset. The actual demo was a 200
line main program, driving, via about 30,000 lines of generated CAda
bindings, an existing C++ code to implement the Puck game.

It's all in a quite preliminary stage, and this was definitely a demo, but
GI fully intends to develop this capabality.

P.S. the invenrot demo was completed in a period of 4 days.




  parent reply	other threads:[~1994-11-19  7:12 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 [this message]
1994-11-21 15:09   ` R. William Beckwith
1994-11-22 14:24     ` Robert Dewar
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