r/computerscience • u/linux_transgirl • Jan 30 '26
Discussion Legendary computer science books?
I'm currently making a list of some of the best/most influential/most well known computer science books to one day put on my shelf after reading them. I've currently got Knuths art of computer programming volumes 1-4b, structure and interpretation of computer programs (the wizzard book), compilers: principles, techniques, and tools (the dragon book), Tanenbaums operating systems design and implementation (the minix book), and the 3 unix books (the c programming language, design of the unix operating system, and the unix programming environment). I'm thinking of adding some of o'reillys more famous publications such as learning perl and programming perl (the lamma and camel books respectively), learning the vi and vim editors, sed and awk, and classic shell scripting. Is there anything I'm missing?
16
u/sgware Jan 30 '26
The Art of Computer Programming, Knuth
8
u/32777694511961311492 Jan 31 '26
Not classic in that they would show up on a syllabus very often but absolute required reading:
And an honorable mention because it is a fun read
6. Disappearing Cryptography - Wayner
I have bought well over a hundred and some computer books over the years and these are ones that I will never part with.
6
u/Reasonable-Pay-8771 Jan 30 '26 edited Jan 31 '26
Dahl, Dijkstra, Hoare, Structured Programming (yeah we're all sold on it now, but what were they fighting for?).
Minsky, Finite and Infinite Machines (a survey of all the relevant basic computational models and Lisp).
Bell and Newell, Computer Structures: Readings and Examples (a survey of all the crazy architectures of the 1950s and 1960s interleaved with articles by the original architects like von Neumann on the Eniac).
Burge, Recursive Programming Techniques (this one is a bizarro-world version of SICP).
Ken Iverson, A Programming Language (say it like it's in air quotes).
Knuth, Digital Typography (this one tells the story of why TAOCP vol 3 looked so bad and why vol 4 took so long).
ETA: I'd love to put the 1st edition of the PostScript Language Reference Manual on the list, but it really only belongs if you're into that sort of thing. PostScript even now provides a sort of lingua franca for printed or rendered output with ready conversion to PDF. But it's become more of a historical curiosity nowadays since there are so many, many other options for rendering. You'll love or hate it, if you ever have a reason to look at it, sigh. But the first edition really is a pretty book, and it's in the same size and binding as K&R, K&P, et al. It was after all the "operating system" of the first consumer laser printer.
Edited: intejected some commentary
5
u/dnabre Jan 31 '26
CLRS should definitely be on the listen
Bruce Schneier's Applied Cryptography is up there. A lot of it is timeless, but a good bit of it is likely out of date (latest edition is 2nd from 1996 i think)
Russel & Norvig's AI book.
Sipser 's Introduction to the Theory of Computation
And of Andrew Appel's Compiler Implementation Books. His Compiling with Continuations is AMAZING, but it's so super dense and relatively niche it's hard to suggest for a list like this.
The Camel book is definitely peak inside the realm of perl. There are definitely some gems among O'Reilly, but there is a lot of noise.
Richard W Stevens's Advanced Programming in UNIX Environment. Great practical programming reference, but it is really a great book so understand UNIX as an OS from the programming's point of view.
Chris Okasaki's Purely Functional Data Structures. Required reading for anyone doing anything in a functional style. You can get a lot of it from his thesis and/or programming pearl papers, but I just never got how FP and data structures could efficiently work before reading it.
Definitely will be mentioned by a lot of people, but Hennessy & Patterson's Computer Architecture.
3
u/ewheck Jan 30 '26
That's a pretty comprehensive list that covers just about everything I would suggest. Maybe also include CLRS?
11
u/dkopgerpgdolfg Jan 30 '26
(Unhelpful comment: 14 of 17 books mentioned on this page are very clearly not about science)
2
u/PitchBlackEagle Jan 31 '26
I'm not certain whether it belongs in this list, but I think Basic Computer Games is definitely there if I ever made a list like yours.
2
u/Shivaess Feb 01 '26
C Programming Language, 2nd Edition
89
u/[deleted] Jan 30 '26
“Concrete Mathematics: A Foundation for Computer Science” by RL Graham, DE Knuth, O Patashnik (1994)
63
u/Katupel Theoretical CS | Logic and Computation Jan 30 '26 edited Jan 30 '26
For Theory:
28
u/jason37 Jan 30 '26
The Practice of Programming (Kernighan and Pike), Expert C Programming (Peter van der Linden)
10
u/misingnoglic Jan 30 '26
AIMA by Russel & Norvig
5
u/deepakvenkatesh Jan 30 '26
Legendary for me so far (I am not comp sci grad or a programming professional so my world view is limited). Some on your list already. 10 books, some I have read cover to cover.
Languages:
Lisp
C:
Others:
5
u/rstewart2702 Jan 31 '26
The Science of Programming by David Gries is a good follow up to Programming Pearls by Jon Bentley.
4
u/BornAce Jan 30 '26
The Elements of Programming Style, by Kernighan and Plauger
4
u/dmills_00 Jan 30 '26
Richard W Stevens books, "TCP IP Illustrated" (all volumes), "Unix Network Programming", "Advanced Programming in the Unix Environment", not really computer science as such, but you are likely to spend more time referencing these then Knuth.
1
u/generally_unsuitable Jan 31 '26
I'm surprised that I don't see "The Linux Programming Interface" by Michael Kerrisk, on NoStarch Press.
That book is absolutely amazing. It's the definitive reference for Linux programming in C, written by the person who maintains the man pages.
And it's so well-written that you can just read it for fun.
1
u/WildMaki Jan 31 '26
Not yet legendary, but...
1
u/[deleted] Feb 07 '26
the big 5, imo: intro to the theory of computation, dragon book, wizard book, dinosaur book, Deep Learning by Goodfellow, et al.
substitute deep learning for whatever you're interested in.
3
u/OkMeaning6302 Jan 30 '26
Modern operating systems
Computer organization and design
Computer networks
Introduction to algorithms
Concrete mathematics
Compilers: principles, techniques and tools
Introduction of theory of computation
Concepts in programing languages
3
u/light_switchy Jan 31 '26
3
u/seanprefect Jan 31 '26
Applied Cryptography Bruce Scheiner
7
u/yukimoechan Jan 30 '26
SICP
2
u/SaltyWolf444 Jan 31 '26
https://www.cs.sfu.ca/~ashriram/Courses/CS295/assets/books/CSAPP_2016.pdf
2
u/Motor_Fudge8728 Jan 31 '26
Types and Programming Languages - Benjamin Pierce
2
u/CapstickWentHome Jan 31 '26
Foley and van Dam - Computer Graphics Principles and Practice.
Required reading in the early 90s.
2
u/Ghosttwo Jan 31 '26
Deitel's "C++: How to program" is cheap and comprehensive. You can throw in "Modeling Reality by Iwo Bialynicki-Birula"; although tangential, popular science found it notable that the cover art was rendered by povray.
2
u/dingBat2000 Jan 31 '26 edited Jan 31 '26
Kernigan and Richie. Edit spelled wrong but this is the old testament of programming. Edit 2,U listed it already. In that case I would add a google on a old school pascal book, which is where I kicked off.
1
u/The_Real_Misanthrope Jan 30 '26
https://www-cs-faculty.stanford.edu/~knuth/books.html
1
u/recursion_is_love Jan 30 '26
Recursive Programming Techniques
Introduction to Functional Programming
The Implementation of Functional Programming Languages
1
u/[deleted] Jan 30 '26
Wow
1
u/Unclerojelio Jan 30 '26
Fundamentals of Logic Design, Roth
https://share.google/FDCnpgAcOZ842lAc3
1
u/LiveLogic Jan 31 '26
Nice post
1
u/zhivago Jan 31 '26
I'll throw in "The Art of the Metaobject Protocol".
1
u/could_be_mistaken Jan 31 '26
hopcroft and rogers
1
u/jcetxean Jan 31 '26
Anderson, Ross. Security Engineering.
1
u/Sneaky_79 Jan 31 '26
CLRS
1
u/onetakemovie Jan 31 '26 edited Jan 31 '26
If you have the Camel book and the Llama book you might as well add Advanced Perl Programming by Srinivasan to the list. It helped me understand what is possible with Perl and I became the lead developer on my team shortly after I put some of what I learned to use - note this was some years ago.
(There's a second edition by Cozens, that covers different uses of Perl from the first edition... haven't looked at it yet, but I probably will soon.)
1
u/kcdragon Jan 31 '26
Maybe Artificial Intelligence A Modern Approach by Russell and Norvig? That was a text book in both my undergrad and grad AI class.
1
u/alexanderbeatson Jan 31 '26
I am more into CS-DS (Not modern data science). My list is
Those are legendary. Other books I read are just for fun and tiny skills.
1
u/playonlyonce Jan 31 '26
I would add Computer Networking Kurose and Distributed System Tanebaum
1
u/Euphoric-Ant-1968 Jan 31 '26
Computer System’s a Programmers perspective - Bryant/O’Hallaron
1
u/Responsible-Fun-3100 Jan 31 '26
Gang of Four - Design Patterns
1
u/bronowaydope Feb 01 '26
Are you into academic papers? I would recommend New Directions in Cryptography and Secure Communications over Insecure Channels which are fundamental to modern day encryption.
1
u/Deflator_Mouse7 Feb 01 '26
Gödel Escher Bach
1
u/Confident-Tap-558 Feb 01 '26
Full title: Let Us C Author: Yashavant P. Kanetkar
1
u/KC918273645 Feb 01 '26
Do these count?
1
u/Holiday-Medicine4168 Feb 01 '26
Advanced programming in the unix environment and intro to algorithms
1
u/Certain_Chemistry219 Feb 01 '26
The Soul of a New Machine Tracy Kidder, 1981
1
u/Suspicious-Success43 Feb 01 '26
Design Patterns: Elements of Reusable Object-Oriented Software by Gamma
Object-Oriented Analysis and Design with Applications by Booch
1
u/Ariargenta Feb 02 '26
Harold Abelson, Gerald Jay Sussman, Julie Sussman (1996). Structure and Interpretation of Computer Programs (2nd Ed.). MIT Press
1
u/Traveling-Techie Feb 02 '26
Software Tools - Kernighan and Plauger
1
u/n1024919 Feb 03 '26
Fundamentals of Data Structures in C by Horowitz and the other two
1
u/SnooCapers6465 Feb 03 '26
The algorithm design manual
1
u/macarthy Feb 04 '26
I literally recently threw out most of the books mentioned- it’s a different age - 90 books to the dump - question 5 chapter1 of taocp funny joke
1
u/salty-carthaginian Researcher Feb 06 '26
Software foundations, though it's pretty niche. Very solid base for any formal verification type work you might want to do though.
0
u/Fizzelen Jan 31 '26
Relational Database Design: An Introduction by Igor Hawryszkiewycz (Author) not sure how legendary it is, however it is the only book I still have from university and I have lent it to number of junior colleges who all found it useful
0
u/[deleted] Jan 30 '26
[deleted] — view deleted comment