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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,a97c18c9ff9b447 X-Google-Attributes: gid1094ba,public X-Google-Thread: 103376,5f39173193c39af,start X-Google-Attributes: gid103376,public From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig) Subject: Re: Objects in Fortran 2000 Date: 1997/03/06 Message-ID: <5fmemp$bgo@fg70.rz.uni-karlsruhe.de>#1/1 X-Deja-AN: 223503403 References: <01bc280b$32c42d40$dac32299@default> Organization: =?ISO-8859-1?Q?Universit=E4t_Karlsruhe_(TH),_Germany_?= Reply-To: Thomas.Koenig@ciw.uni-karlsruhe.de Newsgroups: comp.lang.fortran,comp.lang.ada Date: 1997-03-06T00:00:00+00:00 List-Id: In comp.lang.fortran, "Loren P. Meissner" wrote: >It was agreed by WG5 in Februray 1977 that Fortran 2000 will contain >minimal object-oriented facilities; namely: [...] By now, it would almost make more sense to add Fortran features (especially HPF) to the next Ada standard than to add more object-oriented features to Fortran. What's missing in Ada that is present in HPF or Fortran 95? I can think of the following, and hope that others will extend the list: - FORALL (similar to a DO loop in Fortran, or a for loop in Ada, except that the order of execution isn't specified, so that automatic paralellization is very easy) - PURE subroutines, which can't have any side effects (checkable by the compiler). Ideal for sticking into FORALL statements. - Built-in array arithmetic (quite easy to do with a library in Ada) I don't think these concepts would 'spoil' Ada, and it does have a cleaner overall design than Fortran. -- 74 a3 53 cc 0b 19