Programming resources

From InstallGentoo Wiki
(Redirected from Programming Books)
Jump to: navigation, search
The principal programming paradigms

The following is a list of recommended books for learning how to program:

First, check GitHub's extensive list of free programming books:

The gentoomen have also provided a torrent/magnet link which has a metric fuckton of books, and if you prefer actual physical books, you can get them for really cheap from

If you don't see the book you're looking for listed, search the following lists for other sources of books:

God-tier books

Read 'em up!

These books are essential books that people should have, or at least have read or know about:

  • Compilers: Principles, Techniques and Tools (a.k.a The Dragon Book). This book is loaded with all the theory and concepts needed to design, implement and optimise a compiler. It's the go-to compiler book.
  • Operating Systems: Design and Implementation (a.k.a the MINIX book). This is one of the books Linus Torvalds used to write the original Linux kernel. This also contains over 500 pages of the entire MINIX source code at the back as an appendix, and if you're lucky, a MINIX installation CD with instructions.
  • The Art of Computer Programming by Donald Knuth (essentially the holy grail of Computer Science literature). Bill Gates said that if anyone can read every volume in TAOCP from cover to cover, then they should definitely send him their CV/Resume.
  • The Mythical Man Month: Essays on Software Engineering. A compilation of essays on what experienced software engineers and programmers have learned from their successes and failures over many years.
  • Design Patterns: Elements of Reusable Object-Oriented Software. Design patterns and principles designed to help object-oriented software.
  • The Cathedral and the Bazaar. Eric S. Raymond's book on Closed-house development (cathedral) vs open-source, distributed development (bazaar), and how the latter is much more effective.
  • The C Programming Language, mentioned below. Also known as K&R because it was written by the founders of C, Brian Kernighan and Dennis Ritchie.
  • Structure and Interpretation of Computer Programs, listed below
  • The UNIX Programming Environment, 2nd edition An excellent introductory *nix book. Written by Brian Kernighan (of K&R) and Rob Pike (Plan9, Golang), both of whom were part of the Unix team at Bell Labs.
  • Advanced UNIX Programming, 2nd Edition Recommended as a follow on book from The UNIX Programming Environment. Contains information on over 300 syscalls.
  • The Pragmatic Programmer Cuts through the increasing specialization and technicalities of modern software development to examine the core process—what do you do, as an individual and as a team, if you want to create software that’s easy to work with and good for your users.
  • Introduction to Algorithms The book covers a broad range of algorithms in depth, yet makes their design and analysis accessible to all levels of readers.
  • The Tao of Programming The themes of the book espouse many hacker ideals – managers should leave programmers to their work; code should be small, elegant, and maintainable; corporate wisdom is more often than not an oxymoron; and so on.
  • Hacker's Delight It discusses a variety of programming algorithms for common tasks involving integer types, often with the aim of performing the minimum number of operations or replacing slow operations by faster ones.
  • Code Complete A compendium of software construction techniques, from naming variables to deciding when to write a subroutine.


  • Programming in Ada 2012 by John Barnes


  • The C Programming Language by Brian Kernighan and Dennis Ritchie (PDF Download)
  • O'Reilly - Practical C Programming (PDF Download)
  • C Programming: A Modern Approach by K. N. King
  • Beej's Guide to Network Programming by Brian "Beej Jorgensen" Hall (PDF Download)



For the inexperienced

  • Programming: Principles and Practice Using C++, 2nd Ed. by Bjarne Stroustrup

With experience in programming

OG Best Practices

  • Effective C++, 3rd Edition by Scott Meyers
  • Modern Effective C++, 1st Edition by Scott Meyers
  • Effective STL, 1st Edition by Scott Meyers


  • More Effective C++, 1st Edition by Scott Meyers
  • Exceptional C++ by Herb Sutter
  • More Exceptional C++, 1st Edition by Herb Sutter
  • Exceptional Style Guide, 1st Edition by Herb Sutter
  • C++ Coding Standards, 1st Edition by Scott Meyers and Andrei Alexandrescu
  • C++ Templates: The Complete Guide, 1st Edition by David Vandevoorde and Nicolai M. Josuttis


  • Modern C++ Design, 1st Edition by Andrei Alexandrescu
  • C++ Template Metaprogramming by David Abrahams and Aleksey Gurtovoy
  • C++ Concurrency In Action, 1st Edition by Anthony Williams
  • Advanced C++ Metaprogramming by Davide Di Gennaro


  • The C++ Programming Language by Bjarne Stroustrup
  • C++ Standard Library Tutorial and Reference by Nicolai Josuttis
  • The C++ IO Streams and Locales

C++11 / C++14 standards references




  • Java, A Beginner's Guide by Herbert Schildt
  • Head First Java, 2nd Edition by Kathy Sierra & Bert Bates
  • Effective Java by Joshua Bloch
  • Thinking in Java by Bruce Eckel




Common Lisp



  • The Ruby Programming Language by David Flanagan and Yukihiro Matsumoto
  • Ruby In A Nutshell by Yukihiro Matsumoto
  • Programming Ruby 1.9 & 2.0 (4th edition) (a.k.a. The Pickaxe) by Dave Thomas, Chad Fowler and Andy Hunt
  • Metaprogramming Ruby by Paolo Perrotta
  • Eloquent Ruby by Russ Olsen
  • The Well-Grounded Rubyist by David A. Black