Re: Why So Great for Numbers? / Best Compiler



In article <1186376257.058725.219440@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
technohippyGD@xxxxxxxxx writes:
On Aug 5, 8:37 pm, ka...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Steven G.
Kargl) wrote:
In article <1186352930.042569.259...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
WB37 <wildblu...@xxxxxxxxx> writes:



On Aug 5, 2:15 pm, ka...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Steven G.
Kargl) wrote:
In article <1186340252.977545.234...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
technohipp...@xxxxxxxxx writes:

What makes Fortran such a great language for number crunching say
compared to C or Lisp?

Is google broken with your browser? Try searching "Fortran vs C"

My other question is what is the best compiler for Fortran?

I suspect a Fortran compiler is the best compiler to use
when dealing with code written in the Fortran language.

In contrast to the wise-a$$ question above, hopefully I can give some
helpful information.

I'm not sure why you called it wise-ass. The very first hit
is http://www.ibiblio.org/pub/languages/fortran/ch1-2.html. It's
clear that OP lacks any interest in Fortran and is trolling.

The second question posed by OP is vacuous with any other
details such as the operating system.

I'm not trolling and if I was you gave me exactly what I wanted. I've
done some searching and found mostly conflicting and out of date
information. Then I thought to myself why not see if there is a
Usenet group and ask questions there. Isn't sharing information part
of the purpose of Usenet. Since I have never had any experience or
exposer to Fortran at all I'm sorry if my questions are dumb. All the
engineers, scientists, etc. that I know who would possibly ever use
Fortran use C.

Then you should have stated that you found conflicting info of
the net. Your orginal post quote here:

What makes Fortran such a great language for number crunching say
compared to C or Lisp? My other question is what is the best compiler
for Fortran?

has a loaded first question that leads to religious wars.

Your 2nd question lacks any details. gfortran is the best available
Fortran compiler for the operating system that I use. gfortran is
probably not the best choice for Windows XP, but you haven't defined
what 'best' means. On XP, I'd check out Intel, Lahey, and Absoft
among others. On a Cray or Sun system, I'd look at the vendor's
compiler.

Part of asking questions of Usenet it to provide some detail.

--
Steve
http://troutmask.apl.washington.edu/~kargl/
.



Relevant Pages

  • Re: Optimizing for fast floating-point numerical code
    ... the closest analogs to Fortran 95's very fast vectorized operations. ... say, however, that in Lisp they don't compete well with looping? ... (defun example (y l) ... (declare (inline attach)) ...
    (comp.lang.lisp)
  • Re: What do you LISPers think of Haskell?
    ... "Lisp is as fast as Fortran for scientific computing" claims economics ... His published software includes a sparse matrix library written in Lisp ...
    (comp.lang.lisp)
  • Lisp as a tool for the mind
    ... "Lisp is as fast as Fortran for scientific computing" claims economics ... His published software includes a sparse matrix library written in Lisp ...
    (comp.lang.lisp)
  • Re: Freepascal rocks!
    ... I've been experimenting with a few programming languages lately: Assembler, Lisp, Forth, Smalltalk. ... A language powerful enough to simply implement another language is damn powerful. ... The other day I joked to my colleagues that we should be writing more stuff in FORTRAN; my contention being that FORTRAN doesn't really do much, so you *have* to keep things simple. ... CurRow, CurCol: Integer; ...
    (comp.lang.pascal.misc)
  • Re: Optimizing for fast floating-point numerical code
    ... intrinsic function like `random' in a given Lisp implementation to be ... different from the one in your Fortran implementation. ... they're called pseudo-random for a ... statistical properties. ...
    (comp.lang.lisp)