Re: Ada to C++ translator




Marco wrote:
> > Recently, I'd heard of such a thing, seems to be at:
> > http://www.softresint.com/expe.htm .
> >
> > I'm skeptical that the translation would be very good. I'd predict lots of
> > cost for hand fixing problems. They do at least acknowlege that Ada and C++
> > are "different".
>
> You always have to suspect any company using the term "ADA" instead
> of Ada. Obviously they have little actual experience with using the
> language.

The data *** focuses on type conversions between Ada and C++.
It completely ignores conversions of Ada run-time and compile-time
error
checking.

It claims to make a conversion from Ada strings to the C++ primitive
string
type, which is the same as the C string type. This eliminates all
bounds
checking, all string slicing, and all direct assignment of string
objects.
A better conversion would be to the C++ String class, which is not a
primitive type.

The data *** does not indicate how nested subprograms or packages
are translated. It also does not indicate how elaboration issues are
converted
to C++.

I see no indication that they understand Ada sufficiently to properly
translate
sequential programs.

There is also no indication they can translate concurrent programs.

Jim Rogers

.