From: Uwe R. <u.r...@tu...> - 2010-02-14 15:10:38
|
Hi! > > > On Thu, 11 Feb 2010, Uwe Rossow wrote: > >> Hi! >> >> >>> For high-level programming (and I would count matrix multiplication as >>> such) (I know his example was matrix multiplication just with a >>> scalar), why would one use plain C? There are much safer languages. >>> (And I don't mean C++.) >>> >>> (Of course, the above is just my personal opinion.) >>> >>> --tml >> >> Well C is quick as especially in numerics comparable to Fortran. > > you certainly didn't compare linear algebra computations in fortran and in > C > > Vincent Torri > Actually I do, but citing more the statement from other people (see e.g. blitz++ homepage) Fortran seems to be faster but C is comparable in the sense that it is no more a question of a factor of 10. My impression (I have no measurements on that) is that C is comparable at least in small numerical routines which I use (integration, differentiation, fit routines, minimization). If I would count time for software development and servicing program code I would incline to say that C is faster, but that maybe a matter of taste - I can cope with Fortran77 but Fortran90 is IMHO a nightmare. I would love to hear other experiences - however, that may become offtopic and I dont know how the monitor of the list likes it. Best wishes Uwe |