From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,335e9f05eb0dcfa0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-18 23:12:28 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!panix!cmcl2!thecourier.cims.nyu.edu!thecourier.cims.nyu.edu!nobody From: dewar@cs.nyu.edu (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: SGI inheriting C++ classes ... Date: 19 Nov 1994 02:12:28 -0500 Organization: Courant Institute of Mathematical Sciences Message-ID: <3ak8gs$uh@gnat.cs.nyu.edu> References: <2ECBCF25@SMTPGATE2.STRATCOM.AF.MIL> NNTP-Posting-Host: gnat.cs.nyu.edu Date: 1994-11-19T02:12:28-05:00 List-Id: "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.