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 Operating system design, the Xinu approach

    Operating system design, the Xinu approach

    Douglas E. Comer · 1984

    Systems & OS
    Open LibraryAmazon
    Stats for nerds
    8recommend
    11mentions
    10people
    2011–2025years
    82% recommend18% neutral

    Mentions per year

    20112013201520172019202120232025

    What Hacker News says

    1. i_don_t_knowJan 2025
      Operating System Design Volume 2: Internetworking with XINU, 1987. ISBN 0-13-637414-X 025

      Shows how to add IP/UDP to a simple Unix-like OS. You might want to also read volume 1:

      Operating System Design - The XINU Approach, Second Edition, 2015. ISBN 9781498712439

      https://www.cs.purdue.edu/homes/comer/osbooks.html

      thread
    2. declandDec 2023
      As mentioned Operating system design: the xinu approach is a great book
      thread
    3. johndoe0815Nov 2023
      If you want to continue learning about computer architecture, I would recommend David Harris' and Sarah Harris' book "Digital Design and Computer Architecture", available in MIPS, ARM and RISC V editions.

      https://pages.hmc.edu/harris/ddca/

      An interesting second book that makes the connection to the software side is Bryant/O'Hallaron "Computer Systems: A Programmer's Perspective"

      https://csapp.cs.cmu.edu

      ...and, more on the theory side, both books by Hennessy and Patterson ("Computer Architecture: The Hardware/Software Interface" and "Computer Architecture: A Quantitative Approach").

      On the OS implementation side, I still like Comer's "Operating System Design: The Xinu Approach" quite a lot. While this book is quite old, I learned OS design from Comer (and am still teaching this at university level 30 years later...).

      https://xinu.cs.purdue.edu

      A good complement would be Cox/Kaashoek/Morris "xv6: a simple, Unix-like teaching operating system" (free download)

      https://pdos.csail.mit.edu/6.S081/2020/xv6/book-riscv-rev1.p...

      A useful addition on OS theory is Remzi and Andrea Arpaci-Dusseau's "Operating Systems: Three Easy Pieces" (also free)

      https://pages.cs.wisc.edu/~remzi/OSTEP/

      If you want to dig into programming languages, I would recommend Cooper/Torczon "Engineering a Compiler" (unfortunately published by Elsevier) and "Crafting Interpreters" by Nystrom (free)

      https://shop.elsevier.com/books/engineering-a-compiler/coope...

      https://craftinginterpreters.com

      Finally, if you're interested in virtualization (system and bytecode level), I can recommend Smith/Nair "Virtual Machines"

      https://www.sciencedirect.com/book/9781558609105/virtual-mac...

      I use many of these books in my courses and recommend them to my students - so far, they seem to like the books:

      (My OS course at NTNU) https://multicores.org/tdt4186_22/

      (My Compiler Construction course at NTNU) https://multicores.org/tdt4205_21/

      I hope this helps a bit. Learning all of this will be quite a challenge but also bring a lot of fun! :)

      thread
    4. abdul-bahajajSep 2022
      Essentials of Compilation book and lecture series by IU

      A big portion of most compiler books focus on parsing. This book instead focuses on implementing a lisp to assembly compiler. Lisp being easy to parse the parsing topic is skipped, instead it focuses on more interesting topics, like register allocation, garbage collection, closure conversion, dynamic typing and so on!

      At the end of the book you will have a lisp to assembly compiler and be able to imagine how complicated high level constructs actually run on the machine which is exciting to say the least.

      The book is accompanied with optional lectures.

      https://iucompilercourse.github.io/IU-P423-P523-E313-E513-Fa...

      ------

      Operating System Design: The Xinu Approach, Second Edition

      Unlike most operating system books, this one goes over the implementation of a simple embedded operating system ( Xinu ) and explains its mechanics by going over its code and internal data structures. It also has interesting exercises like extending the OS to support virtual memory.

      If you are planning to read this book you should buy one of the supported hardware boards so that you can actually run the OS on it, modify it and load it again to see your changes in action.

      thread
    5. garrenAug 2022
      Also, XINU, “ Operating System Design - The Xinu Approach”[0]

      The book isn’t free, but I’ve found it to be fun to work through. The projects are centered around building and running on small boards like beaglebone, Galileo, and more recently raspi (although this isn’t covered in the book.)

      [0] https://xinu.cs.purdue.edu/

      thread
    6. johndoe0815Jun 2021
      The 4.4 BSD book is also available in an updated version for FreeBSD: https://www.pearson.com/us/higher-education/program/Mc-Kusic...

      ...and there's more:

      - "xv6: a simple, Unix-like teaching operating system" https://pdos.csail.mit.edu/6.828/2020/xv6/book-riscv-rev1.pd...

      - Douglas Comer's book "Operating System Design - The Xinu Approach" (https://xinu.cs.purdue.edu)

      - Gernot Heiser's "Inside L4/MIPS" (https://ts.data61.csiro.au/publications/papers/Heiser:IL4.pd...)

      thread

    Related

    Cover of Operating system design
    2018–2025

    Operating system design

    Douglas Comer
    1 recommend · 2
    Cover of Operating Systems
    2016–2023

    Operating Systems

    Remzi H Arpaci-Dusseau
    8 recommend · 10
    Cover of Practical File System Design with the Be File System
    2015–2024

    Practical File System Design with the Be File System

    Dominic Giampaolo
    6 recommend · 8
    Cover of Modern Operating Systems
    2008–2026

    Modern Operating Systems

    Andrew S. Tanenbaum
    52 recommend · 91
    Cover of Operating System Concepts
    2010–2025

    Operating System Concepts

    Abraham Silberschatz
    26 recommend · 59
    Cover of Advanced programming in the Unix environment
    2008–2025

    Advanced programming in the Unix environment

    W. Richard Stevens
    100 recommend · 153
    Cover of The design and implementation of the FreeBSD operating system
    2008–2026

    The design and implementation of the FreeBSD operating system

    Marshall Kirk McKusick
    36 recommend · 59
    Cover of Design of the Unix Operating System
    2008–2025

    Design of the Unix Operating System

    Maurice J. Bach
    23 recommend · 42