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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd3a5ba6349a6060 X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: should I be interested in ada? Date: 1999/02/19 Message-ID: <7ajl7i$e8v$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 446033680 References: <7a72e6$g55$1@probity.mcc.ac.uk> <36C93BB4.1429@ecs.soton.ac.uk> <7afc1o$3mi$2@plug.news.pipex.net> <7afttr$7v3$1@nnrp1.dejanews.com> <7aganu$qsc$1@plug.news.pipex.net> <7ai4rb$5vn$1@nnrp1.dejanews.com> <7aingo$orv$2@plug.news.pipex.net> X-Http-Proxy: 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Feb 19 12:25:26 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-02-19T00:00:00+00:00 List-Id: In article <7aingo$orv$2@plug.news.pipex.net>, "Nick Roberts" wrote: > Perhaps you would care to produce some 'powerful examples' yourself? > > Bear in mind, my original claim was that "there is > nothing that can be done in Fortran that cannot be done > in Ada." I didn't say "that cannot be done just as > neatly" and I didn't mean it. I just meant "that cannot > also be done _reasonably easily_ in Ada." Obvious example; a parallel loop with no implied ordering in the sequence. We once extensively discussed the following addition to Ada: for all J in ... loop ... with that meaning. Without an extension, there is simply no "reasonably easy" way to program this in Ada. (actually I am not sure if Fortran-90 has this extension, but it is certainly in HPF, and really these days you have to be talking about both if you are talking state of the art Fortran). Doesn't Fortran also have slicing of multi-dimensional arrays, this is also obviously very painful in Ada. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own