From: pvanesch@vub.ac.be (Vanesch P.)
Subject: Re: Fortran vs C++ vs. etc (has little to do with realtime anymore)
Date: 1997/09/16
Date: 1997-09-16T00:00:00+00:00 [thread overview]
Message-ID: <5vlhoj$1ul@rc1.vub.ac.be> (raw)
In-Reply-To: 5ve7c6$f4m$1@info.uah.edu
Dr. Krishnan Chittur (chitturk@email.uah.edu) wrote:
: Joseph M. O'Leary (NOSPAMjmoleary@earthlink.net) wrote:
: : Jeffrey Templon <templon@studbolt.physast.uga.edu> wrote in article
: : > The fact remains (and will for some time) that many scientific
: : programmers
: : > are scientists FIRST and programmers SECOND.
: ........
: : > So one of my reasons for Fortran still being around: you can write
: : > a reasonable program which runs reasonably efficiently just by more
: : > or less typing in an expression of a simple algorithm. Fortran's "mental
: : > model" of the computer is very simple.
: Well said! ... I still have to find an environment that will allow
: me to develop a GUI as simply as I can write Fortran Code to
: do calculations ... if there is one, please let me know.
I think this is an essential point. FORTRAN is well-suited to do
calculations and hard-core scientific computation. But more
complex structures (a GUI is program-wise a lot more complicated
than a scientific calculation) are not dealt too well with in
fortran I think. I've seen this in the high-energy community.
Both elements are present there: complex software systems and
hard-core scientific computing. Well, I've seen quite a mess
in the FORTRAN implementation (rather ad hoc) of the complicated
datastructures that had to be manipulated. It would have been
much better done (and the tendency now is - finally - to switch
to things like C++) in a language suited for the task.
On the other hand, I've also seen the opposite. A collegue of mine
wrote a MONSTER program in C++ to do some straightforward matrix
manipulations. The graphical user interface launches tens and tens
of windows in which one can manipulate parameters, look at graphs etc...
He worked for almost a year on the thing. He is a computer scientist,
btw, I'm not. I'm an engineer and physicist.
It takes about 10 minutes to even start up the thing, getting your
X-terminal cluttered with all those windows.
I've done the same thing in F77, but with an ASCII steering file,
in about a month... and guess what ? my program tackles systems
he can't even dream of handling in just a few hours (his can't do it,
it just runs out of 1 GB swap space !!) I get a nice ASCII file
with my results. For smaller systems, my program is about 20 times
faster, with less memory, than his, on the same system.
I think every language has its uses. FORTRAN is old and
very elementary on the conceptual level. For most modern
computing applications (graphics, process steering, multi-user
things etc) it is simply too elementary.
But for applications where these elementary concepts are
sufficient (such as scientific computing - which is usually
advanced on the scientific level and very simple on the
computational level) it allows indeed to write a reasonably simple
program that behaves resonably well by someone who has some
reasonable knowledge of computers but is not a computer scientist,
without involving a lot of abstract computer-think.
But if the project is too ambitious, and the abstract computer
think is really needed, well... I don't think it is a good idea
to do it in FORTRAN.
cheers,
Patrick.
next prev parent reply other threads:[~1997-09-16 0:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-13 0:00 Fortran vs C++ vs. etc (has little to do with realtime anymore) Dr. Krishnan Chittur
1997-09-15 0:00 ` Area Industrial y Electromec�nica
1997-09-16 0:00 ` Vanesch P. [this message]
1997-09-16 0:00 ` Jeffrey Templon
1997-09-16 0:00 ` Gary L. Scott
1997-09-17 0:00 ` Jenn-Ching Luo
1997-09-17 0:00 ` Gary L. Scott
1997-09-16 0:00 ` Rick Hawkins
1997-09-18 0:00 ` Oleg Krivosheev
1997-09-19 0:00 ` Rick Hawkins
1997-09-23 0:00 ` Oleg Krivosheev
1997-09-23 0:00 ` Gary L. Scott
1997-09-24 0:00 ` Rick Hawkins
1997-09-24 0:00 ` Xingzeng Liu
1997-09-25 0:00 ` const
1997-09-25 0:00 ` Oleg Krivosheev
[not found] <199709070005.TAA23336@manifold.algebra.com>
[not found] ` <5utbth$rdi@snews2.zippo.com>
[not found] ` <34131554.73F2310E@roda.roc.servtech.com>
[not found] ` <34157696.16620299@nntp.interaccess.com>
[not found] ` <JTV2J.97Sep9170655@cobra.cs.virginia.edu>
[not found] ` <3415CE44.3BD531@calfp.co.uk>
[not found] ` <341644F2.763D@BZZvnet.ibm.com>
1997-09-12 0:00 ` Jeffrey Templon
1997-09-13 0:00 ` Joseph M. O'Leary
1997-09-16 0:00 ` James F Cornwall
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox