From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20869 invoked from network); 4 Mar 1999 18:54:33 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Mar 1999 18:54:33 -0000 Received: from bacchus.pc1.uni-duesseldorf.de (root@bacchus.pc1.uni-duesseldorf.de [134.99.152.11]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA30929 for ; Thu, 4 Mar 1999 13:50:19 -0500 Received: from bacchus.pc1.uni-duesseldorf.de (jochen@localhost [127.0.0.1]) by bacchus.pc1.uni-duesseldorf.de (8.8.7/8.8.7) with SMTP id TAA20397; Thu, 4 Mar 1999 19:50:16 +0100 From: Jochen Kuepper Organization: Heinrich-Heine-Universitaet To: axp-list@redhat.com, Helge Kreutzmann Subject: Re: Numerical simulations on alphalinux: C or fortran? Date: Mon, 11 Apr 2135 02:01:33 +0100 X-Mailer: KMail [version 1.0.17] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <99030419501600.20347@bacchus.pc1.uni-duesseldorf.de> Content-Transfer-Encoding: quoted-printable On Don, 04 M=E4r 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 a= nd >> 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 leas= t >in theory) providing faster code. Yeah, short but nice page. I would still kep my claim, though, based on m= y (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 th= e amount of thought/work people put into their code counts much more. Btw: My main programming project is a mixed FORTRAN / C++ project, and th= ats the way I would suggest for anybody seriously beeing concerned about spee= d. 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++ cl= asses, 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 s= aves runtime by using nice programs. But then an good assembler BLAS is even better :-) Greetings, Jochen ----------------------------------------------------------------------- Jochen K=FCpper Heinrich-Heine-Universit=E4t D=FCsseldorf jochen@uni-duesseldorf.de Institut f=FCr Physikalische Chemie I Universit=E4tsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D=FCsseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen -----------------------------------------------------------------------