Path: csiph.com!au2pb.net!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news.unit0.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Anonymous Newsgroups: comp.arch Subject: Re: Ada vs C Date: 19 Dec 2015 17:19:57 GMT Lines: 43 Message-ID: References: <1387750795.472001138.937239.yaldnif.w-blueyonder.co.uk@news.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 6SfVtKJJNVRoc3M+3NegdQqVeywiopsaYQRKC3U4TtcrsHgRVc Cancel-Lock: sha1:+12MHTCFHSHgGx1vRAGG+GfLPf0= sha1:RDjD4EFjSKvmDHY8STHuAM/4mQk= User-Agent: NewsTap/5.1.2 (iPad) Xref: csiph.com comp.arch:31996 Nick Maclaren wrote: > In article , Noob wrote: >> On 18/12/2015 22:29, Noob wrote: >>> On 17/12/2015 00:34, Bill Findlay wrote: >>> >>>> I was in charge of a beginners' programming lab that supported >>>> classes taught in Ada and classes taught in Pascal. They latter were >>>> clearly at a disadvantage, as evidenced by the quality of their >>>> work. >>> >>> A few weeks ago, either in comp.arch or comp.lang.c (can't remember) >>> someone posted a link to an article where a teacher explained that >>> students could never complete the class project in C, but many were >>> able to when they wrote in Ada. >> >> Ah yes, it was in the comp.lang.c thread titled >> "Is it possible C is the security problem?" >> Message-ID: <5b9a2e66-305a-4a36-8df2-fde8f4078066@googlegroups.com> >> >> http://archive.adaic.com/projects/atwork/trains.html >> >> I found that interesting. > > I am involved in an HPC Academy, where budding PhD students are taught > the rudiments of scientific programming in a fortnight; the language > components take about 2 days. Our success rate with Fortran is MUCH > higher than our success rate with C, but note that this is modern > Fortran, which is vastly more usable than Fortran 77. > > I am also uniquely (?) well-qualified to adjudicate between modern > Fortran and simple C++ - the former is about 1/5 the size and takes > 1/5 the length of time to teach, for a realistically usable subset. > > I have never used Ada, but have looked at it. My guess is that it > would lose to modern Fortran on array-dominated codes, and win on > many or most others. But not by a large factor. Ada certainly lacks Fortran's virtuosity at array slicing. What other features would you say it lacks? -- Bill Findlay