Best Computer Science Books: 43 Picks Recommended by CEOs

Algorithms to Live By by Brian Christian and Tom Griffiths leads the list, showing how solutions from computer science can guide everyday human decisions. Deep Learning by Ian Goodfellow, Yoshua Bengio and Aaron Courville is the textbook that takes readers from linear algebra and probability to modern neural networks, and The Master Algorithm by Pedro Domingos sorts machine learning into five schools and follows the race to build one learner that can discover anything from data.

The list is for founders, engineers and curious readers who want to understand how computation works rather than how to use a particular product. The core books cover the theory and practice of the field: MIT’s Structure and Interpretation of Computer Programs, Jon Bentley’s essays on algorithm design, information theory from Thomas M. Cover and Joy A. Thomas, Scott Aaronson on complexity and quantum computing, statistical learning from Hastie, Tibshirani and Friedman, hands-on AI programming from Peter Norvig and Sebastian Raschka, and the cryptography of Bruce Schneier and Jean-Philippe Aumasson.

The related tier holds books where computer science is part of a larger story: Douglas R. Hofstadter’s Gödel, Escher, Bach on minds and formal systems, debates about the future of artificial intelligence from Nick Bostrom, Max Tegmark and Kai-Fu Lee, histories of computing from Walter Isaacson, Tracy Kidder and the chroniclers of Xerox PARC, the biography of Claude Shannon, software engineering classics from Frederick P. Brooks Jr. and Steve McConnell, and theories of the brain from Jeff Hawkins and Ray Kurzweil.

We ranked these 43 books by how many of the 1,088 founders, CEOs and leaders on The CEO Library recommend them: first the 14 books mainly about computer science, then 29 related books under Also worth reading.

Algorithms to Live By: The Computer Science of Human Decisions - cover

1. Algorithms to Live By: The Computer Science of Human Decisions

by Brian Christian, Tom Griffiths

Recommended by 3 leaders: Doug McMillon, Emi Gal and Chris Oliver

Brian Christian and cognitive scientist Tom Griffiths take the limits of time and memory that computers face and show how computer scientists’ solutions can guide human choices, from picking a spouse to tidying an email inbox. Chris Oliver says it helps apply algorithms to buying a house or a car.

See all 3 recommendations and sources

Deep Learning - cover

2. Deep Learning

by Ian Goodfellow, Yoshua Bengio, Aaron Courville

Recommended by 3 leaders: Elon Musk, Satya Nadella and Nassim Nicholas Taleb

Ian Goodfellow, Yoshua Bengio and Aaron Courville build from linear algebra, probability and numerical computation up to convolutional networks, sequence models and deep generative models. Elon Musk calls it the only comprehensive book on the subject, and Nassim Nicholas Taleb praises how directly it handles the math.

See all 3 recommendations and sources

The Master Algorithm: How the Quest for the Ultimate Learning Machine Will Remake Our World - cover

3. The Master Algorithm: How the Quest for the Ultimate Learning Machine Will Remake Our World

by Pedro Domingos

Recommended by 2 leaders: Mark Cuban and Vinod Khosla

Pedro Domingos explains machine learning through its five schools, from connectionism and Bayesian inference to evolutionary computation, and argues they could combine into a single master learner that finds any knowledge in data. Mark Cuban credits it with convincing him that the time for AI had arrived.

See all 2 recommendations and sources

Structure and Interpretation of Computer Programs - cover

4. Structure and Interpretation of Computer Programs

by Harold Abelson, Gerald Jay Sussman

Recommended by 2 leaders: Patrick Collison and Santiago Basulto

Harold Abelson and Gerald Jay Sussman of MIT teach recursion, abstraction and modularity in Scheme, then build interpreters and compilers on register machines, and the text long served MIT’s introductory course. Patrick Collison lists it on his bookshelf, and Santiago Basulto calls it the place to start with fundamentals.

See all 2 recommendations and sources

Build a Large Language Model (From Scratch) - cover

5. Build a Large Language Model (From Scratch)

by Sebastian Raschka

Recommended by 1 leader: Lex Fridman

Sebastian Raschka walks readers through coding a large language model with no existing LLM libraries: first a base model, then a text classifier, then a chatbot that follows instructions, all small enough to run on a laptop. Lex Fridman recommends it to beginners and experts alike.

See all 1 recommendation and sources

Elements of Information Theory - cover

6. Elements of Information Theory

by Thomas M. Cover, Joy A. Thomas

Recommended by 1 leader: Eric Weinstein

Thomas M. Cover and Joy A. Thomas teach information theory through mathematics, physics and statistics, covering entropy, data compression, channel capacity, rate distortion and Kolmogorov complexity, with problem sets and historical notes in every chapter. It sits among the books Eric Weinstein shared as ones that mattered to him.

See all 1 recommendation and sources

7. Paradigms of Artificial Intelligence Programming

by Peter Norvig

Recommended by 1 leader: Patrick Collison

Peter Norvig teaches advanced Common Lisp by rebuilding real artificial intelligence programs as case studies, with chapters on debugging, efficiency and the performance problems of working software. It doubles as a course text on AI programming, and Patrick Collison lists it on his bookshelf.

See all 1 recommendation and sources

Quantum Computing since Democritus - cover

8. Quantum Computing since Democritus

by Scott Aaronson

Recommended by 1 leader: Patrick Collison

Scott Aaronson, a theoretical computer scientist, moves from logic and set theory through computability, complexity, quantum computing and cryptography, in an informal book based on his own Waterloo course. Patrick Collison lists it on his bookshelf.

See all 1 recommendation and sources

Why Machines Learn: The Elegant Math Behind Modern AI - cover

9. Why Machines Learn: The Elegant Math Behind Modern AI

by Anil Ananthaswamy

Recommended by 1 leader: Tyler Cowen

Science journalist Anil Ananthaswamy explains the linear algebra, calculus and other mathematics underneath machine learning, holding that safe use of AI requires understanding that math. Tyler Cowen named it a contender on his best nonfiction of 2024 list, while warning that the math will be too much for many readers.

See all 1 recommendation and sources

Applied Cryptography: Protocols, Algorithms and Source Code in C - cover

10. Applied Cryptography: Protocols, Algorithms and Source Code in C

by Bruce Schneier

Recommended by 1 leader: Dominic Steil

Bruce Schneier’s reference moves from cryptographic protocols and techniques to the algorithms themselves, explaining how RSA and the Data Encryption Standard work and giving implementation advice and source code in C. Dominic Steil recommends it to young people heading into his field.

See all 1 recommendation and sources

Programming Pearls - cover

11. Programming Pearls

by Jon Bentley

Recommended by 1 leader: James Stanley

Jon Bentley builds each essay around a small, nagging problem from working programmers and walks through clever solutions, mixing practical technique with design principles. James Stanley found many a-ha moments in its focus on well-defined problems solved with as little machine time and memory as possible.

See all 1 recommendation and sources

Serious Cryptography: A Practical Introduction to Modern Encryption - cover

12. Serious Cryptography: A Practical Introduction to Modern Encryption

by Jean-Philippe Aumasson

Recommended by 1 leader: Louis Nyffenegger

Jean-Philippe Aumasson explains the mathematics of modern encryption, from hash functions and block ciphers to RSA, elliptic curves, TLS and post-quantum methods, and uses code samples to show common implementation mistakes. Louis Nyffenegger has it on his current reading list.

See all 1 recommendation and sources

Understanding the Digital World - cover

13. Understanding the Digital World

by Brian W. Kernighan

Recommended by 1 leader: Eric Schmidt

Brian W. Kernighan explains for readers with no technical background how hardware, software, networks and the web work, why programming is difficult, and where the limits of computers lie. Eric Schmidt calls it the clearest and simplest account of how the digital world works.

See all 1 recommendation and sources

The Elements of Statistical Learning: Data Mining, Inference, and Prediction - cover

14. The Elements of Statistical Learning: Data Mining, Inference, and Prediction

by Trevor Hastie, Robert Tibshirani, Jerome Friedman

Recommended by 1 leader: Nassim Nicholas Taleb

Trevor Hastie, Robert Tibshirani and Jerome Friedman place machine learning and data mining inside one statistical framework, covering boosting, support vector machines, neural networks, random forests and spectral clustering. Nassim Nicholas Taleb calls it the one complete reference on the plumbing behind machine learning.

See all 1 recommendation and sources

Also worth reading

AI Superpowers: China, Silicon Valley, and the New World Order - cover

15. AI Superpowers: China, Silicon Valley, and the New World Order

by Kai-Fu Lee

Recommended by 9 leaders, including Satya Nadella, Arianna Huffington and Peter Diamandis

Kai-Fu Lee, a former executive at Apple, Microsoft and Google, argues that China has drawn level with America in artificial intelligence and forecasts which jobs AI will hit. It is mainly about economics and geopolitics, and Aidan Connolly says it made him think about the rivalry.

See all 9 recommendations and sources

Superintelligence: Paths, Dangers, Strategies - cover

16. Superintelligence: Paths, Dangers, Strategies

by Nick Bostrom

Recommended by 4 leaders, including Elon Musk, Sam Altman and Sam Harris

Philosopher Nick Bostrom’s book is mainly about what happens if machines surpass human general intelligence, and how to give such a system goals that benefit people. Sam Altman calls it the best thing he has seen on machine intelligence, and Elon Musk urged great care with AI after reading it.

See all 4 recommendations and sources

The Innovators – How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution - cover

17. The Innovators – How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution

by Walter Isaacson

Recommended by 4 leaders, including Santiago Basulto, Chris Oliver and Brian Burkhart

Walter Isaacson traces the computer and the internet through the people who built them, from Ada Lovelace and Alan Turing to Tim Berners-Lee, asking why some inventors succeeded and how teamwork helped. Santiago Basulto says learning how these hackers shaped the tech world had a deep effect on him.

See all 4 recommendations and sources

The Soul of a New Machine - cover

18. The Soul of a New Machine

by Tracy Kidder

Recommended by 3 leaders: Naval Ravikant, Mohnish Pabrai and Scott Johnson

Tracy Kidder follows Tom West’s team at Data General, mostly recent college graduates, racing to design the Eagle minicomputer in the late 1970s. A story of computer engineering rather than theory, it is on Naval Ravikant’s list, and Mohnish Pabrai calls it required reading for product development teams.

See all 3 recommendations and sources

Gödel, Escher, Bach: An Eternal Golden Braid - cover

19. Gödel, Escher, Bach: An Eternal Golden Braid

by Douglas R. Hofstadter

Recommended by 3 leaders: Mark Manson, Seth Godin and Cory Zue

Douglas R. Hofstadter weaves Bach, Escher and Gödel together to explore recursion, isomorphism, self-reference and formal systems, inventing two small programming languages. Mark Manson reads it as a study of how paradoxes can explain consciousness, and Seth Godin urged his readers to pick it up.

See all 3 recommendations and sources

A Mind at Play: How Claude Shannon Invented the Information Age - cover

20. A Mind at Play: How Claude Shannon Invented the Information Age

by Jimmy Soni, Rob Goodman

Recommended by 3 leaders: Cal Newport, David Senra and Erik Rostad

Claude Shannon’s life is the subject here: his MIT thesis applying Boolean algebra to circuits, the Bell Labs paper that founded information theory, and his juggling machines and unicycles. Cal Newport read a review copy and liked it, and David Senra recommends it.

See all 3 recommendations and sources

Deep Thinking: Where Machine Intelligence Ends and Human Creativity Begins - cover

21. Deep Thinking: Where Machine Intelligence Ends and Human Creativity Begins

by Garry Kasparov

Recommended by 4 leaders, including Walter Isaacson, Max Levchin and Tyler Cowen

Garry Kasparov recounts his 1997 match against IBM’s Deep Blue and uses chess to trace the history of machine intelligence, arguing that people can achieve more with intelligent machines than by fearing them. Max Levchin praises its human view of what AI can and cannot do.

See all 4 recommendations and sources

Mastering Bitcoin: Programming the Open Blockchain - cover

22. Mastering Bitcoin: Programming the Open Blockchain

by Andreas M. Antonopoulos

Recommended by 2 leaders: Auston Bunsen and Hong Qi Yu

Andreas M. Antonopoulos explains bitcoin’s decentralized network, how a transaction moves through it, and how keys, addresses and wallets work, with code snippets for developers. It is mainly about the currency, and Auston Bunsen learned the parts of a wallet address from its fourth chapter.

See all 2 recommendations and sources

Coders: The Making of a New Tribe and the Remaking of the World - cover

23. Coders: The Making of a New Tribe and the Remaking of the World

by Clive Thompson

Recommended by 3 leaders: Tim Ferriss, Kevin Kelly and Saron Yitbarek

Clive Thompson studies programmers as a tribe, profiling engineers behind Facebook, Instagram and Google’s AI efforts and weighing the politics of code. It is about programming culture more than computer science, and Kevin Kelly says it explains what programmers do and why.

See all 3 recommendations and sources

The Mythical Man-Month: Essays on Software Engineering - cover

24. The Mythical Man-Month: Essays on Software Engineering

by Frederick P. Brooks Jr.

Recommended by 1 leader: Jeff Bezos

Frederick P. Brooks Jr. draws on managing IBM’s System/360 and OS/360 for essays on the people problems of building software, including Brooks’s law about late projects and the second-system effect. Mainly about managing software teams, it is a book Jeff Bezos has recommended.

See all 1 recommendation and sources

Life 3.0: Being Human in the Age of Artificial Intelligence - cover

25. Life 3.0: Being Human in the Age of Artificial Intelligence

by Max Tegmark

Recommended by 1 leader: Barack Obama

MIT cosmologist Max Tegmark weighs what artificial intelligence could do to life on Earth, from AI weapons and lost jobs to twelve possible futures, arguing that misaligned goals rather than malice are the danger. It is mainly about consequences, and Barack Obama put it on his best of 2018 list.

See all 1 recommendation and sources

A Thousand Brains - cover

26. A Thousand Brains

by Jeff Hawkins

Recommended by 1 leader: Bill Gates

Neuroscientist and computer engineer Jeff Hawkins proposes that the brain builds hundreds of thousands of maplike models of the world, and uses the theory to consider the future of artificial intelligence. Bill Gates found its theory of what a true AI might take fascinating.

See all 1 recommendation and sources

A Human's Guide to Machine Intelligence: How Algorithms Are Shaping Our Lives and How We Can Stay in Control - cover

27. A Human’s Guide to Machine Intelligence: How Algorithms Are Shaping Our Lives and How We Can Stay in Control

by Kartik Hosanagar

Recommended by 2 leaders: Nandan Nilekani and Tim Draper

Wharton professor Kartik Hosanagar, drawing on his own work designing algorithms, explains how they shape what people buy, read and date, why they go rogue and the biases they create. It is mainly about AI in society and proposes an Algorithmic Bill of Rights, which Nandan Nilekani urges acting on.

See all 2 recommendations and sources

Dealers of Lightning - cover

28. Dealers of Lightning

by Michael A. Hiltzik

Recommended by 1 leader: Patrick Collison

Los Angeles Times correspondent Michael A. Hiltzik tells how Xerox PARC invented the laser printer, the graphical interface and an early personal computer, then saw its corporate parent turn them down. It is mainly the history of a research lab, and Patrick Collison lists it on his bookshelf.

See all 1 recommendation and sources

Metamagical Themas - cover

29. Metamagical Themas

by Douglas R. Hofstadter

Recommended by 1 leader: Patrick Collison

Douglas R. Hofstadter gathers his early 1980s magazine columns on self-reference, analogy and the prisoner’s dilemma, including three chapters on the Lisp language, all asking how human and machine thinking work. Patrick Collison lists it on his bookshelf.

See all 1 recommendation and sources

Mindstorms - cover

30. Mindstorms

by Seymour Papert

Recommended by 1 leader: Patrick Collison

Computer scientist Seymour Papert argues for teaching children computer literacy with the LOGO language and its Turtle graphics, claiming that habits like debugging can reshape how they learn every subject. It is mainly about education, and Patrick Collison lists it on his bookshelf.

See all 1 recommendation and sources

The Art of Doing Science and Engineering - cover

31. The Art of Doing Science and Engineering

by Richard W. Hamming

Recommended by 1 leader: Patrick Collison

Richard W. Hamming turned a Naval Postgraduate School course into a study of how great ideas arise, returning to Shannon’s information theory, Grace Hopper’s programming and his own error-correcting codes. It is mainly about research method, and Patrick Collison lists it on his bookshelf.

See all 1 recommendation and sources

The Dream Machine - cover

32. The Dream Machine

by M. Mitchell Waldrop

Recommended by 1 leader: Patrick Collison

M. Mitchell Waldrop tells how J.C.R. Licklider, from a Pentagon post in 1962, pictured personal, interactive computers and an Intergalactic Network, then steered funding toward that vision. It is a history rather than a technical text, and Patrick Collison lists it on his bookshelf.

See all 1 recommendation and sources

The Codebreakers - cover

33. The Codebreakers

by David Kahn

Recommended by 1 leader: Tyler Cowen

David Kahn’s history of codes and ciphers runs from ancient Egypt through war, diplomacy and espionage, and a later edition adds Ultra and computer cryptography. It is mainly a history, and Tyler Cowen says reading it as a boy taught him that problems exist to be solved.

See all 1 recommendation and sources

How to Create a Mind: The Secret of Human Thought Revealed - cover

34. How to Create a Mind: The Secret of Human Thought Revealed

by Ray Kurzweil

Recommended by 1 leader: Naveen Jain

Ray Kurzweil describes the neocortex as a stack of some 300 million pattern recognizers and proposes building artificial intelligence the same way, drawing on techniques from his speech recognition work. It is mainly a theory of mind, and Naveen Jain values what it explains about the brain.

See all 1 recommendation and sources

The Unix Programming Environment - cover

35. The Unix Programming Environment

by Brian W. Kernighan, Rob Pike

Recommended by 1 leader: Tim O'Reilly

Brian W. Kernighan and Rob Pike explain the Unix philosophy of small programs that combine, working through the shell, grep, sed, AWK, C programs and a yacc parser for a small language. It is mainly a programming manual, and Tim O’Reilly admires its clarity and its tools philosophy.

See all 1 recommendation and sources

Possible Minds: Twenty-Five Ways of Looking at AI - cover

36. Possible Minds: Twenty-Five Ways of Looking at AI

by John Brockman

Recommended by 1 leader: Gerd Leonhard

John Brockman gathers 25 essays answering Norbert Wiener’s warning about machines that learn and decide, from contributors both alarmed and unworried about artificial intelligence. It is mainly about the future of AI, and Gerd Leonhard recommends it as reflections from leading scientific minds.

See all 1 recommendation and sources

A History of Modern Computing - cover

37. A History of Modern Computing

by Paul E. Ceruzzi

Recommended by 1 leader: Joan Boixados

Paul E. Ceruzzi follows computing from the earliest electronic digital machines to the arrival of the web, organized around four turning points such as the first personal computers and networking after 1985. Joan Boixados recommends it to readers who care about computers and history.

See all 1 recommendation and sources

Bitcoin and Cryptocurrency Technologies: A Comprehensive Introduction - cover

38. Bitcoin and Cryptocurrency Technologies: A Comprehensive Introduction

by Arvind Narayanan, Joseph Bonneau, Edward Felten, Andrew Miller

Recommended by 1 leader: Antonio Eram

Arvind Narayanan and three coauthors explain how Bitcoin and its block chain function, how secure and anonymous its users are, and how to engineer software for the network, with online programming assignments. It is mainly about digital currency, and Antonio Eram has it on his reading list.

See all 1 recommendation and sources

Code Complete: A Practical Handbook of Software Construction - cover

39. Code Complete: A Practical Handbook of Software Construction

by Steve McConnell

Recommended by 1 leader: Santiago Basulto

Mainly a handbook on software construction, Steve McConnell’s book covers coding, debugging, detailed design and unit testing, down to naming variables and deciding when a subroutine is worth writing. It is the practical side of the field, and Santiago Basulto pairs it with SICP as a starting point.

See all 1 recommendation and sources

Coders at Work: Reflections on the Craft of Programming - cover

40. Coders at Work: Reflections on the Craft of Programming

by Peter Seibel

Recommended by 1 leader: Santiago Basulto

Peter Seibel interviews 15 programmers, among them Ken Thompson, Donald Knuth and Brendan Eich, on how they learned, debug, read code and choose languages. It is about the craft of programming, and Santiago Basulto calls it full of inspiring stories.

See all 1 recommendation and sources

Darwin Among The Machines: The Evolution Of Global Intelligence - cover

41. Darwin Among The Machines: The Evolution Of Global Intelligence

by George B. Dyson

Recommended by 1 leader: Antonio Eram

George B. Dyson traces thinkers from Thomas Hobbes to John von Neumann who anticipated artificial intelligence and artificial life, and argues that programs and global networks now form an evolutionary arena. It is mainly a history of ideas, and Antonio Eram recommends it.

See all 1 recommendation and sources

On Intelligence: How a New Understanding of the Brain Will Lead to the Creation of Truly Intelligent Machines - cover

42. On Intelligence: How a New Understanding of the Brain Will Lead to the Creation of Truly Intelligent Machines

by Jeff Hawkins, Sandra Blakeslee

Recommended by 1 leader: Joan Boixados

Jeff Hawkins, creator of the PalmPilot, proposes a memory-prediction theory of the cortex, contends that today’s computers are not intelligent, and sketches how intelligent machines could be built. Joan Boixados notes how closely it ties to computer science and artificial intelligence.

See all 1 recommendation and sources

The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage - cover

43. The Cuckoo’s Egg: Tracking a Spy Through the Maze of Computer Espionage

by Cliff Stoll

Recommended by 1 leader: James Stanley

Astronomer Cliff Stoll recounts how a 75-cent accounting error at Lawrence Berkeley National Laboratory led him to an intruder exploiting a GNU Emacs flaw, whom he traced to West Germany. James Stanley sees it as the earliest recorded account of a computer abused by a remote intruder.

See all 1 recommendation and sources