"Crispen, Bob" <[log in to unmask]> writes:

> The fire has burned under the open-source HLA RTI
> pot for long enough that it's starting to bubble.

I'm not familiar with "HLA RTI"; web site please?

> 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++.

Well, on this list I guess I'm safe saying that means there is only
one codebase that is reasonable to use :).

> 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.

I have not actually done it, but GNAT can import C++ classes as Ada
tagged types, and vice versa. I assume there are some restrictions;
e.g. I'm not clear how C++ constructors map to Ada. But in general it
is possible.

ACT recommends that you use a tool to generate the Ada bindings to C++
classes; SGI provides such a tool with their Ada product.

> It seems that it might be theoretically possible given the codebase
> behind gnat and g++, though I gather egcs has complicated things?
> The problem is, I've fallen too far behind in understanding some of
> the underlying stuff to even make an educated guess.

GNAT and egcs are merging; look for results Real Soon Now :).

> I don't want to recommend something to an effort I care very much
> about if there isn't a solid background of success doing this. There
> are simply not enough hands on the open RTI project to do research
> into making Ada95 play with C++.

I need to more about RTI before I can recommend for or against.

One consideration is the customers; if they already know C++, they
won't use an Ada product. On the other hand, if it's a powerful enough
product, this may be the reason they convert to the One True Way :).

>
> Bob Crispen [log in to unmask]
>

--
-- Stephe

PS. This is my first post to team-ada; I hope the smileys above are
taken to indicate I'm not such an Ada bigot as it might otherwise
appear. I'm just happy to be conversing with people who agree that Ada
is good for a change!