David Gries (born April 26, 1939) is an American computer scientist at Cornell University, mainly known for his books The Science of Programming (1981) and A Logical Approach to Discrete Math (1993, with Fred B. Schneider).
He was associate dean for undergraduate programs at the Cornell University College of Engineering from 2003–2011. His research interests include programming methodology and related areas such as programming languages, related semantics, and logic. His son, Paul Gries, has been a co-author of an introductory textbook to computer programming using the language Python and is a teaching stream professor in the Department of Computer Science at the University of Toronto.
Gries is member emeritus of IFIP Working Group 2.3,[6] whose aim is to increase programmers' ability to compose programs, and he edited
Programming Methodology: a Collection of Articles by Members of IFIP WG2.3,
[7] which highlights the work of this group in its first ten years.
Gries was an advocate of treating formal methods in programming as a core computer science topic and teaching it to undergraduates, a stance that found large amounts of debate within the computer science education community.[8] Around 700 students and fellow faculty members were in attendance for his final lecture, given to his "Programming and Data Structures" class, in May 2022.[9]
He is author, co-author, or editor of seven textbooks and 75 research papers. His papers are archived at Cornell.[10]
Gries' 1971 work Compiler Construction for Digital Computers was the first textbook to be published on designing and implementing language compilers.[5][11] It was also one of the first textbooks to be written and produced using computers, in this case punched cards input to a text-formatting program that ran on an IBM System/360 Model 65;[5] the early technology used eventually resulted in the book having a somewhat dated appearance.[11]Compiler Construction for Digital Computers sold well and went through more than twenty printings,[5] although over time it would be eclipsed in renown by "the Dragon Book", Alfred V. Aho and Jeffrey D. Ullman's 1977 volume Principles of Compiler Design.[12] Nonetheless, Dutch computer scientist Dick Grune has written of Compiler Construction for Digital Computers that "entire generations of compiler constructors have grown up with it and they have not regretted it."[11]
The textbook An Introduction to Programming: A Structured Approach Using PL/I and PL/C was co-written with his computer scientist college Richard W. Conway and published in 1973. It used the PL/C dialect developed at Cornell and went through several editions and adaptations. It stressed the discipline of structured programming throughout, becoming one of the most prominent textbooks to do so,[13] and introduced considerations of program correctness, becoming the first introductory textbook to do so.[14]
In 1981, Gries published The Science of Programming, a textbook that covers program verification.[15] It presents propositional calculus and uses it to formalize the treatment of preconditions, postconditions, invariants, and related entities,[16] and then provides practical stratagems for program development via identifying those logical entities from a problem specification.[17] A review in SIGSOFT Software Engineering Notes found the book to be valuable in the logic and stratagem aspects, but too focused on low-level programming with no abstract data types discussed other than the simple array.[15] Writing in Communications of the ACM, computer scientist Jon Bentley said The Science of Programming was "an excellent introduction to the
field" and said that professional programmers could benefit from studying it and using program verification techniques in their own projects.[17]
A Logical Approach to Discrete Math was co-authored with Fred B. Schneider and published in 1993.[8] A paper from a faculty member at Southwestern University advocating teaching the subjects the book covered to first-year undergraduates and called it "an ideal text covering predicate calculus for use in programming."[18] Similarly, a faculty member at Pepperdine University stated that, "My experience with A Logical Approach to Discrete Math convinced me that formal methods are easily mastered at the undergraduate level."[8]
Selected works
Gries, D. (1971). Compiler Construction for Digital Computers (in English, Spanish, Japanese, Chinese, Italian, and Russian). New York: John Wiley and Sons. ISBN0-471-32776-X. The first text on compiler writing.[5]
Gries, D.; Conway, R. (1973). An Introduction to Programming: a structured approach, Edition 1. Cambridge: Winthrop.
ACM Programming Systems and Languages Paper Award, with Susan Owicki,[33] for the "Verifying properties of parallel programs: an axiomatic approach" paper (1977)
Superior Accomplishment Award, U.S. Naval Weapons Lab, Dahlgren, Va. (1961)
^ abGerhart, Susan L. (April 1982). "Two recent books on programming". SIGSOFT Software Engineering Notes. 7 (2): 63–64. doi:10.1145/1005937.1005948. S2CID40374643.
^Henderson, Peter (1987). "Modern introductory computer science". Proceedings of the eighteenth SIGCSE technical symposium on Computer science education (SIGCSE '87). Association for Computing Machinery. pp. 183–190. doi:10.1145/31820.31756. ISBN0-89791-217-9.
^Denman, Richard; Naumann, David A.; Potter, Walter; Richter, Gary (1994). "Derivation of programs for freshmen". Proceedings of the twenty-fifth SIGCSE symposium on Computer science education (SIGCSE '94). Association for Computing Machinery. pp. 116–120. doi:10.1145/191029.191077. ISBN0-89791-646-8.