Sender: 810123 (810123), Letter Area: Fortran
Title: Blowing Fortran - with the overdistant, 嘻嘻
Sending station: Nanjing University Small Lily Station (Sat Jun 5 07:36:09 2004)
In this era of this computer language, there are so many people think that Fortran is over, hehe, in fact, Fortran is a special scientific calculation language, and its status is still not moving so far. The language of today's common and scientific calculations, C / C language, MATLAB language, and Fortran have a unique advantageous advantage than they.
1, Fortran has a long history, after the foundation, from the first Fortran program to now close to 50 years, it is the only choice for scientific computing languages for a long time, and the large number of correct, reliable procedures accumulated during the period, although the Fortran standard It has been many times, but because it is compatible, many programs are recruiting value, come to fight. In the case, C / C , MATLAB is late for nearly 20 years, and its 芄 徒 徒 牧 牧 豢
2, Fortran grammar requirements are strict, more suitable for rigorous scientific calculations. The array is not checked in C, if the result of the address accessed, its calculation results are unpredictable.
3, Fortran can operate directly to the array and plural. Like C completes the two matrices to perform two cycles, or call a function with 5 ginseng, although C can complete the simple form of C = A B, but it is built in the defined matrix class and its member functions On the basis of overloading the operator, the previous work is cumbersome, and the initialization of the matrix becomes the initialization and increased workload of the matrix class. And Fortran can directly complete the matrix C = A B
4. Compared to Matlab, Fortran is compiled language, matlab is similar to and interpreted, and there are many cycle efficiency, so if MATLAB should use a loop to use a loop to call the C / C or Fortran program.
5. The status of Fortran in parallel calculation is irreplaceable, and Fortran in parallel computing is unique.
6, Fortran itself is constantly improving and developing
So, 嘿, Fortran is still out of time.
-
※ Source:. Nanjing University small lily station bbs.nju.edu.cn. [From: bproxy.nju.edu.cn]