We are still actively working on the spam issue.

Programming resources

From InstallGentoo Wiki
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: https://github.com/EbookFoundation/free-programming-books/blob/main/books/free-programming-books-en.md

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

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.

Ada

  • Programming in Ada 2012 by John Barnes

C

  • The C Programming Language (commonly K&R) by Brian Kernighan and Dennis Ritchie, the creators of the C language. One of a select few "classics" of CS literature. This book's reverential status in the Computer Science community means its hard to find a clear-headed evaluation of its strengths and drawbacks. While a supremely clear and technical piece of writing, it objectively does teach a version of C (C89) that is long out of date: learners will find themselves unfamiliar with many commonly used practices. (PDF Download)
  • O'Reilly - Practical C Programming (PDF Download)
  • C Programming: A Modern Approach by K. N. King. This is an alternative to K&R, considered by some to be pedagogically superior at the expense of length. At more than 800 pages, it goes a lot more in depth into C: offering a far greater range of exercises, up-to-date practices, and a comprehensive Q&A section at the end of every chapter. It also teaches C99, broadly considered the last "major" update to C (later standards of C are more focused on tweaks). Structurally, A Modern Approach is written in such a way that "teaches" you C, making it distinct from the more technical writing of K&R; learners will have valid reasons to prefer one style over the other.
  • Beej's Guide to Network Programming by Brian "Beej Jorgensen" Hall (PDF Download)
  • Modern C by Jens Gustedt. This book aims to teach C in the distinct way it is used in professional environments today. The code the author writes is immediately distinct from C books written in the 20th century. Suitable for both complete beginners and those with C experience; the latter will find it just as useful with this book "relearning" the language in a different way. (Official PDF Download)

C++

Beginner

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

Intermediate

  • 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

Advanced

  • 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

References

  • 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

C#

Forth

Go

Java

  • 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

Haskell

Lisp

Scheme

Common Lisp

Pascal

Ruby

  • 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

Rust

Python

  • Invent Your Own Computer Games with Python (Read it online)
  • Starting Out with Python, 2nd ed. (PDF download)
  • Think Python: How to Think Like a Computer Scientist, Ver 2.0.12 (Read it online)
  • Learn Python The Hard Way, 3rd Edition (Read it online)
  • Automate the Boring Stuff with Python (Read it online). Especially good for those who have never programmed before.
  • Composing Programs (Read it online). Inspired by Structure and Interpretation of Computer Programs. More of a beginner computer science book than a purely Python book.