[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Suitability of Lua as a First Programming Language?
- From: "M. Edward (Ed) Borasky" <znmeb@...>
- Date: Mon, 3 Dec 2012 19:36:02 -0800
"I have read many times that FORTRAN is better Than C for number crunching buy I do not know WHY?"
That was true in the late 1980s but is no longer the case. It's somewhat complicated, but with a couple of breakthroughs in compiler technology and some education of programmers, C became competitive with FORTRAN for *new* number-crunching code. There are still millions of lines of legacy FORTRAN out there and there's little reason to port them to C, but it's now possible to write C or C++ code for number crunching that's just as efficient as FORTRAN. Look up the Convex vectorizing C compiler and the Multiflow "trace scheduling" compiler for the nitty-gritty details.