Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jochen Kuepper <jochen@uni-duesseldorf.de>
To: axp-list@redhat.com, Helge Kreutzmann <kreutzm@itp.uni-hannover.de>
Subject: Re: Numerical simulations on alphalinux: C or fortran?
Date: Mon, 11 Apr 2135 02:01:33 +0100	[thread overview]
Message-ID: <99030419501600.20347@bacchus.pc1.uni-duesseldorf.de> (raw)
In-Reply-To: Pine.A41.3.96.990304143015.11464A-100000@deneb.itp.uni-hannover.de

On Don, 04 Mär 1999 Helge Kreutzmann wrote:

>On Thu, 4 Mar 1999, Jochen Kuepper wrote:

>> But in the end, I would say, speed mostly depends on good algorithms and
>> efficient implemetations, not on the programming language.
>
>There is an interesting comparison done by the University of Cambridge
>regarding the possibilities to optimes fortran vs. C code. You can read it
>under
>
>http://www.hpcf.cam.ac.uk/C_rant.html
>
>It suggests that FORTRAN code can be optimized more easily thus (at least
>in theory) providing faster code.

Yeah, short but nice page. I would still kep my claim, though, based on my
(special ?) personal experiences.
Looking at the programs around me, there usually really is not much of a
difference between programs that are plain FORTRAN or completly C, but the
amount of thought/work people put into their code counts much more.

Btw: My main programming project is a mixed FORTRAN / C++ project, and thats
the way I would suggest for anybody seriously beeing concerned about speed.
Then there remains the problem of which parts to write using this or that
language. You also can use all these nice FORTRAN libs from within C++ classes,
so you can manipulate your class easily from C++, but it does FORTTRAN in
reality :-)
Here this seems to save development efforts by writing ugly FORTRAN and saves
runtime by using nice programs.
But then an good assembler BLAS is even better :-)

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen Küpper

  Heinrich-Heine-Universität Düsseldorf     jochen@uni-duesseldorf.de
  Institut für Physikalische Chemie I
  Universitätsstr. 1, Geb 26.43 Raum 02.29     phone ++49-211-8113681
  40225 Düsseldorf                             fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


      reply	other threads:[~1999-03-04 18:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-04 11:05 Numerical simulations on alphalinux: C or fortran? Lorenzo Bernardi
1999-03-04 11:30 ` Andrei A. Dergatchev
1999-03-04 18:55   ` Chris Albertson
1999-03-04 13:00 ` Jochen Kuepper
1999-03-04 13:34   ` Helge Kreutzmann
1999-03-04 18:54     ` Jochen Kuepper [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox