An empirical study of FORTRAN programs
暂无分享,去创建一个
A sample of programs, written in FORTRAN by a wide variety of people for a wide variety of applications, was chosen ‘at random’ in an attempt to discover quantitatively ‘what programmers really do’. Statistical results of this survey are presented here, together with some of their apparent implications for future work in compiler design. The principal conclusion which may be drawn is the importance of a program ‘profile’, namely a table of frequency counts which record how often each statement is performed in a typical run; there are strong indications that profile‐keeping should become a standard practice in all computer systems, for casual users as well as system programmers. This paper is the report of a three month study undertaken by the author and about a dozen students and representatives of the software industry during the summer of 1970. It is hoped that a reader who studies this report will obtain a fairly clear conception of how FORTRAN is being used, and what compilers can do about it.
[1] Donald Ervin Knuth,et al. The Art of Computer Programming , 1968 .
[2] R. Stockton Gaines,et al. The debugging of computer programs , 1969 .
[3] B. A. Wichmann. SOME STATISTICS FROM ALGOL PROGRAMS , 1970 .