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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!tut!tukki!sakkinen From: sakkinen@tukki.jyu.fi (Markku Sakkinen) Newsgroups: comp.lang.ada Subject: Re: Ada vs real-world programming langu Message-ID: <1975@tukki.jyu.fi> Date: 9 Nov 89 07:29:42 GMT References: <1395@raybed2.UUCP> <1481@aber-cs.UUCP> Reply-To: sakkinen@jytko.jyu.fi (Markku Sakkinen) SAKKINEN@FINJYU.bitnet (alternative) Organization: University of Jyvaskyla, Finland List-Id: In article <1481@aber-cs.UUCP> pcg@cs.aber.ac.uk (Piercarlo Grandi) writes: -In article <1395@raybed2.UUCP> rgc@raybed2.UUCP (RICK CARLE) writes: -> -> Even if C++ object code ran faster or more reliably than Ada (unlikely), -> -It depends more on programmer quality than language, or methodlogy, etc... -Sure an Ada compiler can catch many improprieties that slip by a C compiler -(but then you have, or should have, lint), but I seriously doubt that C++ -is less "safe" in this respect than Ada. [...] C and C++ are in some respects much less safe than even Fortran. Just think about the nonchalant way they handle arrays and pointers. -> are there available C++ compilers that cross-target to my favorite -> bare-chip-on-a-special-board missile or avionics processor? E.g., -> 68020, 1750A, or 386? My guess is that I'd have to figure out a way to -> stuff a PC or a Sun in my missile (if I wanted C++). - -No problem here. Code generators for 68020 or 386 machines for C++ are -readily available (GNU C++ has them or you use cfront to generate C code), - [...] The important thing for missile and avionics processors are real-time features, which C++ is completely devoid of, but which all the Ada effort has largely been about! Markku Sakkinen Department of Computer Science University of Jyvaskyla (a's with umlauts) Seminaarinkatu 15 SF-40100 Jyvaskyla (umlauts again) Finland