whoispedia Claim a profile
Brian Kernighan, Computer scientists (1942)

Brian Kernighan

Canadian-American computer scientist and Princeton professor, co-author of the classic textbook The C Programming Language and co-creator of AWK

Born
Jan 1, 1942
Toronto
Status
Living
age 84
Known for
K&R C book
Co-authored the definitive 1978 C textbook with Dennis Ritchie and co-created the AWK language

Brian Wilson Kernighan (b. 1942) is a Canadian-American computer scientist known for his work at Bell Labs on the early Unix operating system and for co-authoring, with Dennis Ritchie, the seminal 1978 textbook The C Programming Language. [1]

Early life and education

Brian Kernighan was born in 1942 in Toronto, Ontario, Canada. He studied engineering physics at the University of Toronto, graduating in 1964, and went on to earn a PhD in electrical engineering from Princeton University in 1969. [1]

Bell Labs and Unix

Kernighan spent much of his career at the Computing Sciences Research Center of Bell Labs in Murray Hill, New Jersey, where he worked from the late 1960s until 2000. There he collaborated with Ken Thompson, Dennis Ritchie and other researchers during the early development of the Unix operating system, and is credited with suggesting its name. [1]

Among his technical contributions are the AWK text-processing language, which he created with Alfred Aho and Peter Weinberger (the "K" in AWK), and the Kernighan–Lin algorithm for partitioning graphs, developed with Shen Lin. He also helped design the AMPL modeling language and wrote a number of widely used programming tools. [1]

Books and writing

Kernighan is best known to generations of programmers as a writer. In 1978 he co-authored The C Programming Language with Dennis Ritchie; often called simply "K&R," it became the definitive early guide to the C language and one of the most influential computing textbooks ever published. [3] His other books include Software Tools, The Elements of Programming Style, The Unix Programming Environment and The Practice of Programming (the latter two with Rob Pike), The AWK Programming Language, and The Go Programming Language. [4]

His writing is noted for its emphasis on clarity and simplicity, a philosophy captured in a frequently quoted maxim:

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

Academic career and legacy

Since 2000 Kernighan has been a professor in the Department of Computer Science at Princeton University, where he teaches and writes about computing for both technical and general audiences, including the book Understanding the Digital World. [2] Through his textbooks and tools he has had a lasting influence on how programming is taught and practiced, and the "hello, world" example popularized by his C writing remains a rite of passage for new programmers. [1]

References

  1. Brian Kernighan – Wikipedia
  2. Brian W. Kernighan – Home Page, Department of Computer Science, Princeton University
  3. Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, Prentice Hall, 1978
  4. Alfred V. Aho, Brian W. Kernighan and Peter J. Weinberger, The AWK Programming Language, Addison-Wesley, 1988