From: | torbenm@diku.dk (Torben Ęgidius Mogensen) |
Newsgroups: | comp.compilers |
Date: | Mon, 17 Jan 2011 12:35:17 +0100 |
Organization: | SunSITE.dk - Supporting Open source |
References: | 11-01-036 11-01-042 11-01-052 |
Keywords: | history, Fortran |
Posted-Date: | 18 Jan 2011 01:02:03 EST |
"robin" <robin51@dodo.com.au> writes:
> Well, it did. However, FORTRAN programmers couldn't perceive that the
> language was of any benefit to them.
I have seen examples of FORTRAN programmers rejecting newer languages
(like Pascal, C, or C++) because of a perceived ineffectiveness of the
newer language compared to FORTRAN.
While there sometimes is a real difference in effectiveness -- such as
when Pascal is compiled to interpreted P-code -- the perception is often
based on simple-minded experiments porting a few programs from FORTRAN
to, say, C and not taking the different array layout into account: If
you translate a nested loop walking over a multi-dimensional array from
FORTRAN to C, you are likely to get a suboptimal order of access -- the
original FORTRAN program was optimised to column-major array layout,
which doesn't work well with the row-major array layout of C or Pascal.
Torben
[This is an awfully long way from compilers. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.