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,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "Jerry Coffin" Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) Date: 26 Mar 2005 12:29:23 -0800 Organization: http://groups.google.com Message-ID: <1111868963.494133.291150@g14g2000cwa.googlegroups.com> References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <1111607633.301232.62490@z14g2000cwz.googlegroups.com> <1111628011.160315.134740@o13g2000cwo.googlegroups.com> <1111732101.995662.309040@z14g2000cwz.googlegroups.com> <1111785256.454375.76600@l41g2000cwc.googlegroups.com> <1369131.HYMxOlSdZt@linux1.krischik.com> NNTP-Posting-Host: 68.64.130.76 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1111868968 730 127.0.0.1 (26 Mar 2005 20:29:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 26 Mar 2005 20:29:28 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=68.64.130.76; posting-account=mZiOqwwAAAC5YZsJDHJLeReHGPXV5ENp Xref: g2news1.google.com comp.lang.ada:10030 comp.lang.c++:47359 comp.realtime:1744 comp.software-eng:5364 Date: 2005-03-26T12:29:23-08:00 List-Id: Martin Krischik wrote: [ ... ] > You are aware that SCADE supports more then one target programming > language? Yes, I'm aware that Ada is mentioned in their marketing information, but looking through several 3rd-party web sites, I haven't been able to find any mention of anybody ever having actually used this ability. I was talking specifically about Airbus' use, and looking at: http://www.esil.univ-mrs.fr/~spc/rcs02/slides/Baufreton.pdf and: http://www.systemes-critiques.org/jslc2001_slides/FrancoisXavier_Dormoy.ppt indicates that they're consistently using C, not Ada. I also mentioned use in other transport, and if you look at slide 12 of the second link above, you'll notice where it specifically says this was done with C code as well. So far, I've found several references that mention generating C code, some that don't specify the language, zero that mention having generated Ada. > On the one hand this supports you claim - If you use SCADE then > programming language is indeed irrelevant. First of all, I don't recall having made any such claim. What I have said is that choice of programming language is but one factor among many, and that I believe it's only rarely the single most important factor. Second, this seems to assume that all the code is generated by SCADE, and none written directly. This does NOT seem to be the case -- if you look at page 6 of: http://scilabsoft.inria.fr/events/05_11_03/ESTEREL.pdf you'll see that they only claim 70% of the code was generated by SCADE. Given the size of project we're talking about, the remaining 30% is a _significant_ amount of code. It seems likely to me that if they were using Ada for the hand-written code, they'd generate Ada as well. [ ... ] > PS: I find the order they give in there drop-down box quite telling > with SPARK-Ada at the top and Standart C at the bottom while at the > same time all marketing texts say first C then Ada. I supports my > suspicion that languages are more often chosen marketing effort > then by actual facts. Even if we assume that all the references I've found that didn't specify a programming language were using Ada, it still appears that C is being used considerably more than Ada. What I find telling is that somebody is so desparate to find _anything_ to favor their position that they'll read the order of strings in a listbox as really meaning something -- especially when they're apparently just in alphabetical order! I think it's also worth noting that SCADE itself appears to be written in C++. While they don't specify this directly, the API they supply to make it programmable is specifically stated as being for C++ (e.g. http://www.liveware.com.br/pdf/telelogic_scade.pdf page 23). While they could undoubtedly provide a C++ API from Ada, it seems most likely to me that if it was written in Ada, use from Ada would be supported (and mentioned). I'm sure writing in Ada and ONLY supporting C++ is a theoretical possibility, but it strikes me as quite unlikely. -- Later, Jerry. The universe is a figment of its own imagination.