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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9d929352a358ccab X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail From: "jimmaureenrogers@worldnet.att.net" Newsgroups: comp.lang.ada Subject: Re: Ada to C++ translator Date: 29 Jan 2006 07:43:55 -0800 Organization: http://groups.google.com Message-ID: <1138549435.017429.27810@g49g2000cwa.googlegroups.com> References: <1138132539.577082.206380@g43g2000cwa.googlegroups.com> <1138540199.483429.92900@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: 69.170.89.0 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1138549440 9475 127.0.0.1 (29 Jan 2006 15:44:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 29 Jan 2006 15:44:00 +0000 (UTC) In-Reply-To: <1138540199.483429.92900@z14g2000cwz.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=69.170.89.0; posting-account=SqOfxAwAAAAkL81YAPGH1JdBwpUXw9ZG Xref: g2news1.google.com comp.lang.ada:2702 Date: 2006-01-29T07:43:55-08:00 List-Id: 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 sheet 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 sheet 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