Malcolm Douglas McIlroy | |
Birth Date: | 24 April 1932 |
Birth Place: | Newburgh, New York |
Fields: | Computer science, mathematics, engineering |
Alma Mater: | Cornell University (B.S., 1954) Massachusetts Institute of Technology (Ph.D., 1959) |
Thesis Title: | On the Solution of the Differential Equations of Conical Shells |
Thesis Year: | 1959 |
Doctoral Advisors: | Eric Reissner |
Known For: | Macros, Unix pipelines, Unix philosophy, software componentry, echo, diff, sort, join, RUNOFF, tr, Unix manual |
Malcolm Douglas McIlroy (born 1932) is an American mathematician, engineer, and programmer. As of 2019 he is an Adjunct Professor of Computer Science at Dartmouth College.McIlroy is best known for having originally proposed Unix pipelines and developed several Unix tools, such as spell, diff, sort, join, graph, speak, and tr. He was also one of the pioneering researchers of macro processors and programming language extensibility. He participated in the design of multiple influential programming languages, particularly PL/I, SNOBOL, ALTRAN, TMG and C++.
His seminal work on software componentization[1] and code reuse[2] makes him a pioneer of component-based software engineering and software product line engineering.
McIlroy earned his bachelor's degree in engineering physics from Cornell University, and a Ph.D. in applied mathematics from MIT in 1959 for his thesis On the Solution of the Differential Equations of Conical Shells (advisor Eric Reissner).[3] He taught at MIT from 1954 to 1958.[4]
McIlroy joined Bell Laboratories in 1958; from 1965 to 1986 was head of its Computing Techniques Research Department (the birthplace of the Unix operating system), and thereafter was Distinguished Member of Technical Staff.[4]
From 1967 to 1968, McIlroy also served as a visiting lecturer at Oxford University.[4]
In 1997, McIlroy retired from Bell Labs, and took a position as an adjunct professor in the Dartmouth College Computer Science Department.[4]
He has previously served the Association for Computing Machinery as national lecturer, Turing Award chairman, member of the publications planning committee, and associate editor for the Communications of the ACM, the Journal of the ACM, and ACM Transactions on Programming Languages and Systems. He also served on the executive committee of CSNET.[4]
McIlroy is considered to be a pioneer of macro processors.[5] [6] In 1959, together with Douglas E. Eastwood of Bell Labs, he introduced conditional and recursive macros into popular SAP assembler,[7] creating what is known as Macro SAP.[8] His 1960 paper was also seminal in the area of extending any (including high-level) programming languages through macro processors.[9] [7] These contributions started the macro-language tradition at Bell Labs ("everything from L6 and AMBIT to C").[10] McIlroy's macro processing ideas were also the main inspiration for TRAC macro processor.[11]
He also coauthored M6 macro processor in FORTRAN IV,[12] which was used in ALTRAN and later was ported to and included into early versions of Unix.
Throughout the 1960s and 1970s McIlroy contributed programs for Multics (such as RUNOFF[13]) and Unix operating systems (such as diff, echo, tr, join and look[14]), versions of which are widespread to this day through adoption of the POSIX standard and Unix-like operating systems. He introduced the idea of Unix pipelines.[13] He also implemented TMG compiler-compiler in PDP-7 and PDP-11 assembly, which became the first high-level programming language running on Unix, prompting development and influencing Ken Thompson's B programming language[13] and Stephen Johnson's Yacc parser-generator.[15]
McIlroy also took over from Dennis Ritchie compilation of the Unix manual "as a labor of love". Particularly, he edited volume 1 of the manual pages for Version 7 Unix.[16] According to Sandy Fraser: "The fact that there was a manual, that he [McIlroy] insisted on a high standard for the manual, meant that he insisted on a high standard for every one of the programs that was documented".[17]
McIlroy influenced the design and implementation of SNOBOL programming language. His string manipulation macros were used extensively in the initial SNOBOL implementation of 1962, and figured prominently in subsequent work, eventually leading to its machine-independent implementation language SIL. The table type (associative array) was added to SNOBOL4 on McIlroy's insistence in 1969.[18]
In 1960s, he participated in the design of PL/I programming language.[19] [20] He was a member of the IBM–SHARE committee that designed the language[21] and, together with Robert Morris, wrote the Early PL/I (EPL) compiler in TMG for the Multics project.[22] [23]
Around 1965, McIlroy, together with W. Stanley Brown, implemented the original version of ALTRAN programming language for IBM 7094 computers.[24] [7]
McIlroy has also made a significant influence on design of the programming language C++ (e.g., he proposed the stream output operator <<
).[25]
In the 1990s, McIlroy worked on improving sorting techniques, particularly he co-authored an optimized qsort with Jon Bentley.[26]
In 1969, he contributed an efficient algorithm to generate all spanning trees in a graph (first discovered by George J. Minty in 1965).[7] [27]
In 1995, he was elected as a Fellow of the American Association for the Advancement of Science.[28] In 2004, he won both the USENIX Lifetime Achievement Award ("The Flame")[29] and its Software Tools User Group (STUG) award.[30] In 2006, he was elected as a member of the National Academy of Engineering.[31]
McIlroy is attributed the quote "The real hero of programming is the one who writes negative code,"[32] where the meaning of negative code is taken to be similar to the famous Apple developer, Bill Atkinson, team anecdote[33] (i.e., when a change in a program source makes the number of lines of code decrease ('negative' code), while its overall quality, readability or speed improves).