Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of The little book of semaphores

    The little book of semaphores

    Allen B. Downey · 2008

    The Little Book of Semaphores is a textbook that introduces the principles of synchronization for concurrent programming. In most computer science curricula, synchronization is a module in an Operating Systems class. OS textbooks present a standard set of problems with a standard set of solutions, but most students don't get a good understanding of the material or the ability to solve similar problems. The approach of this book is to identify patterns that are useful for a variety of synchronization problems and then show how they can be assembled into solutions. After each problem, the book offers a hint before showing a solution, giving students a better chance of discovering solutions on their own. The book covers the classical problems, including "Readers-writers," "Producer-consumer," and "Dining Philosophers." In addition, it collects a number of not-so-classical problems. * Published under the terms of the GNU Free Documentation License. Money raised from the sale of this book supports the development of free software and documentation.

    ProgrammingSystems & OS
    Open LibraryAmazon
    Stats for nerds
    18recommend
    25mentions
    22people
    2010–2022years
    80% recommend20% neutral

    Mentions per year

    2010201220142016201820202022

    What Hacker News says

    1. faizshahMar 2022
      Gonna throw in one of my own picks for Concurrency, I landed on this book a few months ago called “The Little Book of Semaphores” on synchronization with examples in python: https://greenteapress.com/wp/semaphores/
      thread
    2. mcphageNov 2021
      The Little Book of Semaphores: https://greenteapress.com/semaphores/LittleBookOfSemaphores....

      It's about multithreading synchronization issues like the Dining Philosopher's problem, and it's brief, interesting, and very readable.

      thread
    3. pkruminsNov 2021
      I agree that many of these books are hard and super boring to read. That's why I always recommend books that are written in easy and accessible style, such as The Little Schemer, The New Turning Omnibus, and Programming Pearls (not Perl but Pearls by Jon Bentley). Or, books that are written in problem-hint-solution style, such as The Little Book of Semaphores and To Mock a Mockingbird. These are so fun and easy to read.
      thread
    4. IdiocyInActionMar 2021
      There's the "Little Book of Semaphores".
      thread
    5. mathieubordereDec 2020
      "The Little Book of Semaphores" also belongs here.

      https://greenteapress.com/wp/semaphores/

      thread
    6. thraxilJan 2020
      Allen B. Downey's "The Little Book of Semaphores" is a great resource if you want to go a bit further on understanding how to use these things and design solutions to synchronization problems. It's available for free: https://greenteapress.com/wp/semaphores/
      thread

    Related

    Cover of Think Bayes
    2012–2026

    Think Bayes

    Allen B. Downey
    37 recommend · 50
    Cover of Think Stats
    2011–2026

    Think Stats

    Allen B. Downey
    27 recommend · 49
    Cover of A little Java, a few patterns
    2011–2026

    A little Java, a few patterns

    Matthias Felleisen
    7 recommend · 10
    Cover of Think Python
    2008–2025

    Think Python

    Allen B. Downey
    15 recommend · 29
    Cover of Think Complexity
    2012–2026

    Think Complexity

    Allen B. Downey
    11 recommend · 19
    Cover of The Little Schemer
    2007–2026

    The Little Schemer

    Daniel P. Friedman
    288 recommend · 652
    Cover of The algorithm design manual
    2007–2026

    The algorithm design manual

    Steven S. Skiena
    195 recommend · 321
    Cover of Structure and Interpretation of Computer Programs
    2007–2026

    Structure and Interpretation of Computer Programs

    Harold Abelson
    347 recommend · 761