home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.edu:1368 comp.lang.fortran:3205
- Newsgroups: comp.edu,comp.lang.fortran
- Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
- From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
- Subject: Re: Modern languages: F90, C++, etc... (Was: scientists as programmers)
- Message-ID: <9224015.18703@mulga.cs.mu.OZ.AU>
- Sender: news@cs.mu.OZ.AU
- Organization: Computer Science, University of Melbourne, Australia
- References: <l9lrciINNb7b@almaak.usc.edu> <h=bnn6@lynx.unm.edu> <9224001.1511@mulga.cs.mu.OZ.AU> <szbnn0l@lynx.unm.edu>
- Date: Thu, 27 Aug 1992 05:11:37 GMT
- Lines: 52
-
- john@aquarius.unm.edu (John Prentice) writes:
-
- >I think a more interesting issue is not C++ versus F90, if one wants
- >to frame it as a versus sort of issue, but rather the general idea
- >of OOPS versus conventional languages.
-
- Actually I think that C++ would be a good language to use even if you
- *didn't* use any of the OOP features, ie. just using C++ as a better C.
- Just grab M++ or some other class library off-the-shelf and then
- use C++ like a conventional language.
-
- Then the extra features of C++ are available if you need them.
-
- >I happen to think there is alot of merit in OOPS and I think it has an
- >unquestioned place in scientific computing. However, I also think it
- >is overhyped very often.
-
- Yes, any new techniques in computer science are ALWAYS over-hyped.
- OOP is not a panacea that will suddenly make programming complex systems
- easy. However it *is* a significant improvement in the same way that
- structured programming was a significant improvement over previous methods.
-
- >For example, one of the common claims for OOPS being the method
- >of choice for parallel computing is that you can easily hide the
- >underlying machine architecture from the programmer. This is said
- >to be good because it relieves the programmer of having to worry about
- >that architecture and promotes portability.
-
- If these are your goals, then it is can be good for these purposes.
-
- >The problem is that it
- >also promotes code inefficiency since the programmer, who understands
- >the data and logic structure of his code very well, is not able to
- >direct the computer to exploit that structure as efficiently if he
- >can't get to the underlying parallelization software. The idea of
- >hiding the nature of the computer from the programmer is not a bad
- >one for users doing small computing, but it is not acceptable when each
- >of your calculations takes 50 hours of Cray Y-MP or CM time.
-
- If minimizing machine cycles is your goal, then of course programmers
- will have to program at a lower level.
-
- >So it is not that OOPS is bad, it is just that like everything, it has
- >a time and a place.
-
- Absolutely.
-
- --
- Fergus Henderson fjh@munta.cs.mu.OZ.AU
- This .signature virus is a self-referential statement that is true - but
- you will only be able to consistently believe it if you copy it to your own
- .signature file!
-