Douglas McIlroy explained

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.

Biography

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]

Research and contributions

Macro processors

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.

Contributions to 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]

Computer language design

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 IBMSHARE 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]

Algorithms

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]

Awards and recognition

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]

Views on computing

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).

See also

Literature

External links

Bell Labs
cs.dartmouth.edu
Ancestry of Linux
code.google.com

Notes and References

  1. Web site: First International Conference on Ada (R) Programming Language Applications for the NASA Space Station, volume 2 - NASA-TM-101202 . Bown, Rodney L. . 2–5 June 1986 .
  2. Web site: Mass produced software components . Malcolm Douglas . McIlroy . Software Engineering: Report of a conference sponsored by the NATO Science Committee, Garmisch, Germany, 7–11 Oct. 1968 . Scientific Affairs Division, NATO . January 1969 . 79.
  3. Web site: M. Douglas (Malcolm) McIlroy . . February 7, 2020 .
  4. Encyclopedia: Douglas McIlroy . HOPL: Online Historical Encyclopaedia of Programming Languages .
  5. David Walden . Macro memories, 1964–2013 . 2014 . . 35 . 1 .
  6. Book: Krishnamurthi . Shriram . Felleisen . Matthias . Duba . Bruce F. . Czarnecki, Krzysztof . Eisenecker, Ulrich W. . From Macros to Reusable Generative Programming . Generative and Component-Based Software Engineering . Lecture Notes in Computer Science . 2000 . 1799 . Springer . Berlin, Heidelberg . 105–120 . 10.1007/3-540-40048-6_9 . 978-3-540-40048-6 . 2576063 . http://www.netobjectdays.org/pdf/99/stja/krishna.pdf . https://web.archive.org/web/20041125195330/http://www.netobjectdays.org/pdf/99/stja/krishna.pdf . November 25, 2004 .
  7. Web site: Computing Science Technical Report No. 99 – A History of Computing Research at Bell Laboratories (1937–1975) . https://archive.today/20140902215751/http://cm.bell-labs.com/cm/cs/cstr/99.html . dead . September 2, 2014 . Bernard D. . Holbrook . W. Stanley . Brown . . February 2, 2020.
  8. Encyclopedia: Macro SAP – Macro compiler modification of SAP . HOPL: Online Historical Encyclopaedia of Programming Languages . https://web.archive.org/web/20080813125120/http://hopl.murdoch.edu.au/showlanguage.prx?exp=91 . August 13, 2008.
  9. Layzell . P. . Paul Layzell . 1985 . The History of Macro Processors in Programming Language Extensibility . The Computer Journal . 28 . 1 . 29–33. 10.1093/comjnl/28.1.29 . free .
  10. Encyclopedia: Bell SAP – SAP with conditional and recursive macros . HOPL: Online Historical Encyclopaedia of Programming Languages . https://web.archive.org/web/20070821092817/http://hopl.murdoch.edu.au/showlanguage.prx?exp=5635 . August 21, 2007.
  11. Book: C.N. . Mooers . Calvin Mooers . L.P. . Deutsch . L. Peter Deutsch . TRAC, A Text-Handling Language . Proceeding ACM '65 Proceedings of the 1965 20th national conference . 229–246 . 1965 . 10.1145/800197.806048 . 40013081 .
  12. Book: Cole, A. J. . Jack Cole (scientist) . Macro Processors . 2nd, revised . 1981 . CUP Archive . 254.
  13. Dennis M. . Ritchie . The Evolution of the Unix Time-sharing System . http://webarchive.loc.gov/all/20100506231949/http://cm.bell-labs.com/cm/cs/who/dmr/hist.html . 6 May 2010 . AT&T Bell Laboratories Technical Journal . 63 . 6 Part 2 . 1984 . 1577–93. 10.1002/j.1538-7305.1984.tb00054.x . As PDF
  14. M. D. . McIlroy . Doug McIlroy . 1987 . A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 . Computing Science . 139 . AT&T Bell Laboratories . dmy-all .
  15. Johnson . Stephen C. . Stephen C. Johnson . 1975 . Yacc: Yet Another Compiler-Compiler . 32 . AT&T Bell Laboratories . Murray Hill, New Jersey . 31 January 2020.
  16. Web site: History of UNIX Manpages . Kristaps . Dzonsons . Ingo . Schwarze . Practical UNIX Manuals.
  17. Web site: The Creation of the UNIX Operating System . Bell Labs . https://web.archive.org/web/20040914025332/http://csdev.cas.upm.edu.ph/~pfalcone/compsci/unix/unix-history1.html . September 14, 2004 .
  18. Griswold . Ralph . 5413577 . Ralph Griswold . A history of the SNOBOL programming languages . 0362-1340 . ACM SIGPLAN Notices . 275–308 . 13 . ACM . 8 . 1978 . 10.1145/960118.808393 .
  19. Book: Endres . Albert . Rombach . H. Dieter . A Handbook of Software and Systems Engineering: Empirical Observations, Laws, and Theories . Pearson Education . 2003 . 327 .
  20. Web site: The World's First COBOL Compilers . June 12, 1997 . Harold . Lawson . Harold Lawson . Howard . Bromberg . https://web.archive.org/web/20040604085438/http://www.computerhistory.org/events/lectures/cobol_06121997/ . June 4, 2004 .
  21. Web site: Michael S. Mahoney . Michael Sean Mahoney . Interview with M.D. McIlroy . Murray Hill . 18 August 1989. Princeton.edu.
  22. Web site: The Multics PL/1 Compiler. R. A. Frieburghouse. Multicians.org.
  23. Web site: Tom Van Vleck . Tom Van Vleck . The Choice of PL/I . Multicians.org.
  24. Hall, A.D., "The ALTRAN System for Rational Function Manipulation — A Survey". Communications of the ACM, 14(8):517–521 (August 1971).
  25. Web site: Stroustrup. Bjarne . Bjarne Stroustrup . A History of C++: 1979−1991.
  26. Engineering a sort function . Jon L. Bentley . M. Douglas McIlroy . Douglas McIlroy . Software—Practice & Experience . 23 . 11 . November 1993 .
  27. Book: Graph Theory with Applications to Engineering and Computer Science . Narsingh Deo . Narsingh Deo . Prentice-Hall . 1974 . 480.
  28. Web site: Elected Fellows: Listing of Fellows who are current members . American Association for the Advancement of Science . aaas.org .
  29. Web site: Flame Award . 6 December 2011 . USENIX . February 5, 2020 .
  30. Web site: STUG Award . 6 December 2011 . USENIX . February 5, 2020 .
  31. Web site: Dr. M. Douglas McIlroy . National Academy of Engineering . nae.edu . February 5, 2020 .
  32. These quotes were heard during a talk he gave to the DLSLUG 12/3/09
  33. Web site: MacPaint and QuickDraw Source Code . Computer History Museum. 18 July 2010 .