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.2 required=5.0 tests=BAYES_00,FROM_WORDY, 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: "Nick Roberts" Subject: Re: should I be interested in ada? Date: 1999/02/23 Message-ID: <7av53q$goc$1@plug.news.pipex.net>#1/1 X-Deja-AN: 447623661 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> <36CC3AEA.59E2@lanl.gov> <7ai502$6an$1@nnrp1.dejanews.com> <36CD8DBA.237C@lanl.gov> <7akvao$j5t$2@plug.news.pipex.net> <7aldu1$4q$1@nnrp1.dejanews.com> <7aslfp$gpq$1@plug.news.pipex.net> <7atdf0$gu6$1@nnrp1.dejanews.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom) Newsgroups: comp.lang.ada Date: 1999-02-23T00:00:00+00:00 List-Id: robert_dewar@my-dejanews.com wrote in message <7atdf0$gu6$1@nnrp1.dejanews.com>... [...] |but there is nothing in it |to suggest that the kind of parellelism you suggest is |possible. For example: | | for all J in 1 .. N loop | S := S + D(J); | end loop; | |The FOR ALL here implies that the additions can be done |in any order. If we write the above loop without the ALL, |there is ABSOLUTELY no permission anywhere in the RM |(including in 11.6(6) that would allow the additions to |be done in other than the canonical order). Note that |the model interval of the result can of course be changed |by changing the order of additions! | |There are many other similar examples [...] Is this a wind up? How about section 1.1.3, which states that "the execution of an Ada program is defined in terms of its interactions with the external environment"? Only conformance with Annex G (in 'strict mode') causes 'model intervals' to be a restriction on optimisations. The Fortran 90 standard has no such strictures (even as an option), and it doesn't offer a fixed-point type. Be serious, please. ------------------------------------- Nick Roberts -------------------------------------