Brian Kernighan

Brian Wilson Kernighan (/ˈkɜːrnɪhæn/;[5] born January 30, 1942)[1] is a Canadian computer scientist.

Brian Kernighan
Brian Kernighan in 2012
Born
Brian Wilson Kernighan

(1942-01-30) January 30, 1942[1][2]
Toronto, Ontario, Canada
NationalityCanadian
CitizenshipCanada
Alma materUniversity of Toronto (BASc)
Princeton University (PhD)
Known for
Scientific career
FieldsComputer science
InstitutionsPrinceton University
ThesisSome Graph Partitioning Problems Related to Program Segmentation (1969)
Doctoral advisorPeter Weiner[4]
Websitewww.cs.princeton.edu/~bwk/

He worked at Bell Labs and contributed to the development of Unix alongside Unix creators Ken Thompson and Dennis Ritchie. Kernighan's name became widely known through co-authorship of the first book on the C programming language (The C Programming Language) with Dennis Ritchie. Kernighan affirmed that he had no part in the design of the C language ("it's entirely Dennis Ritchie's work").[6] He authored many Unix programs, including ditroff. Kernighan is coauthor of the AWK and AMPL programming languages. The "K" of K&R C and of AWK both stand for "Kernighan".

In collaboration with Shen Lin he devised well-known heuristics for two NP-complete optimization problems: graph partitioning and the travelling salesman problem. In a display of authorial equity, the former is usually called the Kernighan–Lin algorithm, while the latter is known as the Lin–Kernighan heuristic.

Kernighan has been a professor of computer science at Princeton University since 2000 and is the director of undergraduate studies in the department of computer science.[7][8][9] In 2015, he co-authored the book The Go Programming Language.

Early life and education

Brian Kernighan speaks at a tribute to Dennis Ritchie in 2012 at Bell Labs.

Kernighan was born in Toronto. He attended the University of Toronto between 1960 and 1964, earning his bachelor's degree in engineering physics.[6] He received his Ph.D. in electrical engineering from Princeton University in 1969, completing a doctoral dissertation titled "Some graph partitioning problems related to program segmentation" under the supervision of Peter G. Weiner.[10][11]

Career and research

Kernighan has held a professorship in the department of computer science at Princeton since 2000.[12] Each fall he teaches a course called "Computers in Our World", which introduces the fundamentals of computing to non-majors.[13][14]

Kernighan was the software editor for Prentice Hall International. His "Software Tools" series spread the essence of "C/Unix thinking" with makeovers for BASIC, FORTRAN, and Pascal, and most notably his "Ratfor" (rational FORTRAN) was put in the public domain.

He has said that if stranded on an island with only one programming language it would have to be C.[15]

Kernighan coined the term "Unix" and helped popularize Thompson's Unix philosophy.[16] Kernighan is also known as a coiner of the expression "What You See Is All You Get" (WYSIAYG), which is a sarcastic variant of the original "What You See Is What You Get" (WYSIWYG).[17] Kernighan's term is used to indicate that WYSIWYG systems might throw away information in a document that could be useful in other contexts.

In 1972, Kernighan described memory management in strings using "hello" and "world", in the B programming language,[18] which became the iconic example we know today. Kernighan's original 1978 implementation of Hello, World! was sold at The Algorithm Auction, the world's first auction of computer algorithms.[19]

In 1996, Kernighan taught CS50 which is the Harvard University introductory course in computer science. Kernighan was an influence on David J. Malan who subsequently taught the course and scaled it up to run at multiple universities and in multiple digital formats.[20]

Kernighan was elected a member of the National Academy of Engineering in 2002 for contributions to software and to programming languages. He was also elected a member of the American Academy of Arts and Sciences in 2019.[21][22]

In 2022 Kernighan stated that he was actively working on improvements to the AWK programming language, which he took part in creating in 1977.[23]

Books and reports

Algorithms

Publications

Programming setup

Kernighan uses a 13-inch MacBook Air as his primary device. Along with this, from time to time, he uses an iMac in his office. He, most of the time, uses Sam as his text editor.[27]

See also

References

  1. The Library of Congress. "Kernighan, Brian W. - LC Linked Data Service: Authorities and Vocabularies | Library of Congress, from LC Linked Data Service: Authorities and Vocabularies (Library of Congress)". id.loc.gov. Retrieved 3 March 2023.
  2. Lohr, Steve (31 October 2002). "To the Liberal Arts, He Adds Computer Science". The New York Times. Mr. Kernighan, 60, is a computer scientist
  3. "C" Programming Language: Brian Kernighan - Computerphile on YouTube
  4. Kernighan, Brian Wilson (1969). Some Graph Partitioning Problems Related to Program Segmentation (PhD thesis). Princeton University. OCLC 39166855. ProQuest 302450661. (subscription required)
  5. Pike, Rob. "The History of Unix". YouTube. Archived from the original on 2021-11-23. Retrieved 2 May 2020.
  6. Dolya, Aleksey (29 July 2003). "Interview with Brian Kernighan". Linux Journal.
  7. Brian Kernighan author profile page at the ACM Digital Library
  8. "An Oral History of Unix". 2007-06-11. Archived from the original on 2007-06-11. Retrieved 2020-05-13.
  9. "Brian Kernighan | Computer Science Department at Princeton University". www.cs.princeton.edu. Retrieved 2020-05-13.
  10. "Brian Kernighan - The Mathematics Genealogy Project". www.genealogy.math.ndsu.nodak.edu. Retrieved 2020-05-13.
  11. Kernighan, Brian W. (1969). Some graph partitioning problems related to program segmentation.
  12. "Brian Kernighan | Computer Science Department at Princeton University".
  13. Kernighan, Brian. "COS 109, Fall 2021: Home Page". www.cs.princeton.edu. Retrieved 2022-08-23. The course will have fundamentally the same structure as in previous years, but lectures, case studies and examples change every year according to what's happening.
  14. Kernighan, Brian. "COS 109: Computers in our world" (PDF). Princeton Education. Archived (PDF) from the original on 2017-03-25.
  15. Budiu, Mihai (July 2000). "An Interview with Brian Kernighan".
  16. McIlroy, M. D. (1987). A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 (PDF) (Technical report). CSTR. Bell Labs. 139. Archived (PDF) from the original on 2022-10-09.
  17. "Brian Kernighan: Geek of the Week". Simple Talk. 2010-05-19. Retrieved 2019-02-05.
  18. "THE PROGRAMMING LANGUAGE B". Bell Laboratories. 16 October 2021. Archived from the original on 2015-06-11.
  19. "Brian Kernighan – Hello World". Artsy. Retrieved 18 June 2015.
  20. Malan, David J. (2010). "Reinventing CS50". Proceedings of the 41st ACM technical symposium on Computer science education. pp. 152–156. doi:10.1145/1734263.1734316. ISBN 9781450300063.
  21. "Dr. Brian W. Kernighan". NAE Website. Retrieved 2020-05-13.
  22. "Brian W. Kernighan". American Academy of Arts & Sciences. Retrieved 2020-05-13.
  23. "Unix legend, who owes us nothing, keeps fixing foundational AWK code". Ars Technica. 23 August 2022. Retrieved 2023-05-12.
  24. D is for Digital: What a well-informed person should know about computers and communications ISBN 1463733895
  25. Brian Kernighan and Alan Donovan (2015) The Go Programming Language ISBN 0134190440
  26. UNIX: A History and a Memoir ISBN 1695978552
  27. "Brian Kernighan's Programming Setup". YouTube. Lex Fridman.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.