Home

Kernighans

Kernighans refers informally to the body of work and concepts associated with Brian Kernighan, a prominent figure in computer science who contributed to the development of Unix, the C programming language, and programming pedagogy. Born in 1942, Kernighan spent a significant portion of his career at Bell Labs and later held faculty positions, influencing both practical software development and computer science education. The term is used to describe several algorithms, techniques, and publications linked to his name.

Among the items commonly associated with Kernighan are the Kernighan-Lin algorithm for graph partitioning, developed with

Overall, Kernighan’s name appears in both theoretical algorithms and practical programming literature, reflecting his broad impact

Shmuel
Lin,
which
is
used
to
divide
a
graph
into
parts
with
minimal
cross-edges.
Another
well-known
attribution
is
Kernighan’s
method
for
counting
set
bits
in
a
binary
word,
an
efficient
technique
that
repeatedly
clears
the
least
significant
1
bit.
In
publishing,
Kernighan
is
renowned
for
co-authoring
The
C
Programming
Language
with
Dennis
Ritchie,
a
foundational
text
in
the
C
language
often
referred
to
as
K&R
C.
He
also
contributed
to
influential
books
and
tools
in
the
Unix
ecosystem,
including
The
UNIX
Programming
Environment
co-authored
with
Rob
Pike,
and
The
Practice
of
Programming
co-authored
with
Pike,
as
well
as
works
on
AWK
with
Alfred
Aho
and
Peter
Weinberger.
on
software
development,
programming
languages,
and
computing
education.
The
plural
form
Kernighans
does
not
designate
a
single
entity
but
rather
a
spectrum
of
ideas
and
publications
associated
with
Kernighan’s
contributions
to
the
field.