TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Laurent Guerby <[log in to unmask]>
Mon, 11 Sep 2000 20:45:45 +0200
text/plain (27 lines)
> The fire has burned under the open-source HLA RTI
> pot for long enough that it's starting to bubble.
> One of the issues that's come up is that there are two
> codebases which might be used: one in Ada95 and
> one in C++.
> Has anyone here ever integrated C++ and Ada?  I'm
> talking about C++ on the class level, not some little
> library functions with a C-like interface, but medium-
> sized reusable elements in C++ as well as Ada95.

For a full Ada 95 codebase, I believe Dominique wrote an RTI fully in
Ada 95 using the Distributed Annex facilities.

As for C++/Ada 95 direct integration, GNAT provides some facilities,
but you'll have to check your particular vendor/OS combination.

I would advise the "C-like interface" as much safer from a technology
point of vue. We used it in a project to plug a C++ RTI in an Ada
application via such an interface, and at my current work, we also
have a C-like interface used by C++ application to use our Ada 95
code. High-level language feature are ... language dependant ;-).

Laurent Guerby <[log in to unmask]>